enumSerial (Windows)
バージョン 1.0.0.0 (5.75 KB) 作成者:
Jerome Briot
Enumerate serial ports on Windows systems (Win32 API, WMIC, registry)
This is a collection of three functions that return the available serial ports on a Windows system.
- enumSerialReg parses the Windows registry
- enumSerialWmic calls the WMIC tool (Windows Management Instrumentation Command-line)
- enumSerialWin32 is based on the Win32 API
---------------
Exemple:
>> [com, names] = enumSerialWmic
com =
'COM22' 'COM24'
names =
'Silicon Labs CP210x USB to UART Bridge (COM22)' 'USB Serial Port (COM24)'
---------------
This contribution is inspired by http://stackoverflow.com/a/1394301 and http://www.naughter.com/enumser.html
引用
Jerome Briot (2026). enumSerial (Windows) (https://jp.mathworks.com/matlabcentral/fileexchange/57333-enumserial-windows), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R2015b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
Help Center および MATLAB Answers で Startup and Shutdown についてさらに検索
タグ
enumSerial/
| バージョン | 公開済み | リリース ノート | |
|---|---|---|---|
| 1.0.0.0 |
