Scan for available serial com ports
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.
Cite As
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. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |