Scanports function scans for available serial ports

版本 1.0.0.0 (1.4 KB) 作者: Rob Slazas
portlist = scanports(portlimit); Returns cell array of available serial port identifiers.
800.0 次下载
更新时间 2011/10/14

查看许可证

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.

引用格式

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. 检索来源 .

MATLAB 版本兼容性
创建方式 R2011a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Use COM Objects in MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0