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

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

Answers (1)

Jose Lara
Jose Lara on 27 Dec 2016
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

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!