How can I distinguish differents COM?

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

What would the "name" of a COM port be in your situation ?
Skent
Skent on 21 Mar 2013
Edited: Skent on 21 Mar 2013
This is what appears on the Painel Control: Prolific USB-to-Serial Comm Port (COM14). I was worndering if I can get the name of the adapter which is use in this device, the "Prolific USB-to-Serial Comm Port".

Answers (0)

This question is closed.

Asked:

on 20 Mar 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!