enumSerial (Windows)

Enumerate serial ports on Windows systems (Win32 API, WMIC, registry)
90 Downloads
Aktualisiert 25. Mai 2016

Lizenz anzeigen

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

Zitieren als

Jerome Briot (2026). enumSerial (Windows) (https://de.mathworks.com/matlabcentral/fileexchange/57333-enumserial-windows), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2015b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und MATLAB Answers
Version Veröffentlicht Versionshinweise
1.0.0.0