Scan for available serial com ports

バージョン 1.0.0.0 (1.35 KB) 作成者: cr
A handy utility function thats missing in base Matlab to scan for available Serial ports.
ダウンロード: 772
更新 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 (2025). 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 Center および MATLAB AnswersCommunications Toolbox についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0