MATLAB Answers

Max OSX Catalina, R2019b - Cannot program board Uno (/dev/tty.usbmodem14201)

17 views (last 30 days)
Hunter Kearney
Hunter Kearney on 16 Jan 2020 at 15:03
Commented: Hunter Kearney on 21 Jan 2020 at 17:11
In the first step of attempting to create the arduino object, MATLAB has a struggle just getting it connected. Using the command below:
a = arduino('/dev/tty.usbmodem14201','Uno')
It returns the error message below:
Cannot program board Uno (/dev/tty.usbmodem14201). Please make sure the board is supported and the port and board type are correct. For more information, see Arduino Hardware Troubleshooting.
This is just an Arduino Uno, works perfectly with the Arduino IDE on my computer. It also works fine on a PC, but on a Mac this fails, and on every mac tried with several versions of MATLAB. I have also verified the port using Terminal to make sure its correct as suggested in the troubleshooting link. Any help on this is appreciated, thanks.


Walter Roberson
Walter Roberson on 16 Jan 2020 at 17:15
Note that at present, Arduino is not supported on Catalina. The current Arduino has some 32 bit binaries and Catalina does not permit 32 bit binaries.
Hunter Kearney
Hunter Kearney on 21 Jan 2020 at 17:11
So does the Arduino IDE work as a fluke then? Or is it something about connecting MATLAB to Arduino that requires those binaries? Also do you have any sugestions? I was thinking about loading MATLAB onto a Windows virtual machine running on my Mac, if the issue is Catalina then that should solve it right? Thanks.

Sign in to comment.

Answers (0)

Sign in to answer this question.