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)

조회 수: 5 (최근 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에서 Arduino Hardware에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by