How can I distinguish differents COM?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
In my code I use the following funciont:
serialInfo = instrhwinfo('serial')
It get the availables COM PORT of matlab, however I want to know for further details like the Name of it. This is all because I am doing an algorithms to detect and connect a COM of a device and I have to know some parameters to use know which of the COM PORT availables I want to use.
The output of the funcion is my pc is:
serialInfo =
AvailableSerialPorts: {'COM14'}
JarFileVersion: 'Version 2.8.0'
ObjectConstructorName: {'serial('COM14');'}
SerialPorts: {'COM14'}
But I want to know more details about the COM14. In this case, there's only one COM PORT avaibable, but the problem is if there are more than one.
2 Comments
Walter Roberson
on 20 Mar 2013
What would the "name" of a COM port be in your situation ?
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!