Scan for available serial com ports

Versione (1,35 KB) da cr
A handy utility function thats missing in base Matlab to scan for available Serial ports.
768 download
Aggiornato 21 ago 2012

Visualizza la licenza

The function uses a simple workaround (as there is no documented way) to first scan for all available ports and returns only those which are ready for use. As the procedure involves testing each port individually it takes a few seconds (about the same a Terminal/Hyperterminal takes on port rescan).

Request in the comments section for any additional features like error message encountered for each port, etc and I'll consider revising.


Cita come

cr (2024). Scan for available serial com ports (, MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2012a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Scopri di più su Communications Toolbox in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release