Serial Command Not Working!

Hello,
I am trying to type the serialport command in matlab, and I keep getting a 1X0 string array, would anyone have any idea why that is? Shoudn't this commad show me all available ports, or would it show the ones that are in use?
I would appreciate any help,
Thanks!

Antworten (1)

Walter Roberson
Walter Roberson am 1 Apr. 2022

0 Stimmen

The command to display the serial ports is
serialportlist
You can be more specific too,
serialportlist("all")
serialportlist("available")

Tags

Gefragt:

am 1 Apr. 2022

Beantwortet:

am 1 Apr. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by