How to check if a serial port is already connected or not

Hello,
Is there some function which indicates if a serial port is already connected and open? I do not want to know this by the error thrown when trying to open it again. Is there any other way?

回答 (1 件)

Behrad kiani
Behrad kiani 2013 年 11 月 9 日

0 投票

check imaqhwinfo function in help. continue with using matrox.it will shows you the devices which connected and known for your pc

タグ

質問済み:

2011 年 2 月 11 日

回答済み:

2013 年 11 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by