MATLAB Answers

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

40 views (last 30 days)
Sreedu
Sreedu on 11 Feb 2011
Answered: Behrad kiani on 9 Nov 2013
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?

Answers (1)

Behrad kiani
Behrad kiani on 9 Nov 2013
check imaqhwinfo function in help. continue with using matrox.it will shows you the devices which connected and known for your pc

Community Treasure Hunt

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

Start Hunting!

Translated by