For Matlab arduino board is not connecting with Matlab(yes I installed the add on, and yes I installed Arudino IDE to check what make Arudino port name is)

1 次查看(过去 30 天)

回答(1 个)

Sarvesh Kale
Sarvesh Kale 2022-11-3
I suspect that the Arduino object is not getting created because you are not supplying the correct COM port number while creating the object. The following documentation gives you an idea about how to find COM ports on different operating systems.
As you are on Linux OS, perform the following steps with Arduino not plugged into computer.
1) Run the following command on terminal:
$ ls /dev/tty*
This will list all the serial devices.
2) Plug in the Arduino and repeat Step 1. You will see an additional entry in the list displayed. This is the argument you must supply to COM port while creating Arduino object.
For additional information you can refer to documentation.

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by