Does Elegoo UNO R3 work on MATLAB?

20 次查看(过去 30 天)
How do I get Elegoo UNO R3 (Arduino clone) to work in MATLAB on a Mac?
I keep getting this error on Matlab:
Cannot program board Uno (/dev/cu.usbmodem141301). Please make sure the board is supported and the port
and board type are correct. For more information, see Arduino Hardware Troubleshooting.
The code I typed in was:
"arduino"

回答(1 个)

Bhargavi Maganuru
Hi,
You can try specifying board and type as below
a = arduino('COM4','Uno');
Make sure you specify correct board type and and board type is supported. List of supported Ardino types can be found here
For more information regarding connection failures refer these links

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by