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 Ansicht (letzte 30 Tage)

Antworten (1)

Sarvesh Kale
Sarvesh Kale am 3 Nov. 2022
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.

Kategorien

Mehr zu MATLAB Support Package for Arduino Hardware finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by