enumSerial (Windows)

Enumerate serial ports on Windows systems (Win32 API, WMIC, registry)
88 descargas
Actualizado 25 may 2016

Ver licencia

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

Citar como

Jerome Briot (2024). enumSerial (Windows) (https://www.mathworks.com/matlabcentral/fileexchange/57333-enumserial-windows), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2015b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Startup and Shutdown en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0