MATLAB Answers

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

조회 수: 3(최근 30일)
Bridget Weston
Bridget Weston 2016년 12월 24일
댓글: Alvaro Olivares 2020년 9월 22일
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
Alvaro Olivares
Alvaro Olivares 2020년 9월 22일
Hi! Did you solve it? Thank you!

댓글을 달려면 로그인하십시오.


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:

Community Treasure Hunt

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

Start Hunting!

Translated by