Scan for available serial com ports

版本 1.0.0.0 (1.4 KB) 作者: cr
A handy utility function thats missing in base Matlab to scan for available Serial ports.
768.0 次下载
更新时间 2012/8/21

查看许可证

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.

Cheers,
cK.

引用格式

cr (2024). Scan for available serial com ports (https://www.mathworks.com/matlabcentral/fileexchange/37872-scan-for-available-serial-com-ports), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Communications Toolbox 的更多信息
标签 添加标签

Community Treasure Hunt

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

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