Scanports function scans for available serial ports
Versión 1.0.0.0 (1,39 KB) por
Rob Slazas
portlist = scanports(portlimit);
Returns cell array of available serial port identifiers.
portlist = scanports(portlimit);
Returns a cell array of available serial port identifiers, such as 'COM1'. By default will scan serial ports from COM1 to COM15. If the (optional) portlimit argument is passed to scanports, then it will scan from COM1 to COM[portlimit]. Displays a progress bar while scanning.
Citar como
Rob Slazas (2024). Scanports function scans for available serial ports (https://www.mathworks.com/matlabcentral/fileexchange/33273-scanports-function-scans-for-available-serial-ports), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2011a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Use COM Objects in MATLAB en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |