How to search for a USB Port by its Name

19 views (last 30 days)
Is there any way to get the Name, windows displays in the device manager for a usb port via matlab? For example my COMPORT 7 is called 'HUBRADAR'. I want to detect this port automatically in matlab and connect to it. I know the serial object and instrhwinfo ('serial'). However these functions only return or use the internal name comportX.

Answers (1)

Walter Roberson
Walter Roberson on 6 Nov 2015

Community Treasure Hunt

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

Start Hunting!