Identify Serial COM devices by friendly name in Windows

버전 1.1.0.0 (1.94 KB) 작성자: Benjamin Avants
Uses Windows registry information to ID Serial COM devices
다운로드 수: 872
업데이트 날짜: 2014/4/8

라이선스 보기

This function scans the Windows registry in two places and associates active COM ports with their registered "Friendly Name". The function returns an N x 2 cell array where N is the number of active COM ports. The first column contains the friendly names of the devices where they exist and the second contains their COM number. If no devices with friendly names are found, devices is empty.
:
This function is not necessarily optimized but it is my solution to identifying serial devices connected by virtual COM port in Windows without having to query every device. If multiple devices with the same friendly name are connected to the computer, the output will contain both devices with their COM ports but they will be otherwise indistinguishable by this function.

인용 양식

Benjamin Avants (2024). Identify Serial COM devices by friendly name in Windows (https://www.mathworks.com/matlabcentral/fileexchange/45675-identify-serial-com-devices-by-friendly-name-in-windows), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2012b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Use COM Objects in MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

4/8/2014: Added checks on registry queries to ensure SKEYs are valid. Displays an error and returns if either entry is invalid.

1.0.0.0