Can't connect Arduino Uno to Matlab R2016a (Mac)

1 次查看(过去 30 天)
Whenever I try to establish a connection from matlab with my arduino uno with the prompt:
a = arduino
an error message appears that says the following:
Cannot program board Uno (/dev/tty.usbmodem1411).
Please make sure the board is supported and the port and board type are correct.
I've uninstalled and reinstalled the support software, I've reset the Arduino and cleared everything within the command window. I've tried looking up the port and board type in the simulink application and put it in the form of:
a = arduino('port' , 'board');
But the same message appears no matter what I put in. What else can I try?

回答(1 个)

Jose Lara
Jose Lara 2016-12-27
The issues you are experiencing could be due to many different reasons. MathWorks provides some troubleshooting steps in their documentation regarding that specific error message you are experiencing. Follow the link below for troubleshooting steps and potential workarounds: http://www.mathworks.com/help/supportpkg/arduinoio/ug/arduino-object-creation-failure.html

类别

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