Error using serial/fopen

4 次查看(过去 30 天)
Gaston Melo
Gaston Melo 2023-4-13
Hi to all, Im trying to open serial port on matlab (on Linux Tumbleweed 64) and I check first:
1) Im in the dialout group
2)instrfind
3)chmod +777 /root/lock
and matlab keeps giving me "Error using serial/fopen (line 72)
Open failed: Port: /dev/ttyUSB0 is not available. No ports are available."
why?
Im writing code in app designer and don't know how to solve it in code.
Thanks

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by