Clear Filters
Clear Filters

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 view (last 30 days)

Answers (1)

Sarvesh Kale
Sarvesh Kale on 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.

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!