Serial Command Not Working!

조회 수: 9 (최근 30일)
Layla Bitar
Layla Bitar 2022년 4월 1일
답변: Walter Roberson 2022년 4월 1일
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!

답변 (1개)

Walter Roberson
Walter Roberson 2022년 4월 1일
The command to display the serial ports is
serialportlist
You can be more specific too,
serialportlist("all")
serialportlist("available")

태그

Community Treasure Hunt

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

Start Hunting!

Translated by