enumSerial (Windows)

Enumerate serial ports on Windows systems (Win32 API, WMIC, registry)

Al momento, stai seguendo questo contributo

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

Cita come

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

Categorie

Scopri di più su Startup and Shutdown in Help Center e MATLAB Answers

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.0