How can I distinguish differents COM?
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
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 Kommentare
Walter Roberson
am 20 Mär. 2013
What would the "name" of a COM port be in your situation ?
Antworten (0)
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!