MATLAB Answers

Arduino with 2019b connection issues

18 views (last 30 days)
Lior Rubanenko
Lior Rubanenko on 27 Nov 2019
Answered: Chidvi Modala on 30 Dec 2019
Hi,
I have recently updated to 2019b and cannot use my Arduino Uno anymore with Matlab (macOS Catalina). The error message I'm getting is pretty generic,
a = arduino('/dev/tty.usbmodem14101','Uno');
Updating server code on board Uno (/dev/tty.usbmodem14101). This may take a few minutes.
Cannot program board Uno (/dev/tty.usbmodem14101). Please make sure the board is supported and the port and board type are correct. For more
information, see Arduino Hardware Troubleshooting.
I have no idea how to even begin debugging this, any help would be appericiated.

  0 Comments

Sign in to comment.

Answers (1)

Chidvi Modala
Chidvi Modala on 30 Dec 2019
Try setting the variable arduinoio.IDERoot to an address which the user has access to write and read
For Example:
arduinoio.IDERoot = 'C:\\Program Files\\Arduino'
or
Try running MATLAB as admin

  0 Comments

Sign in to comment.

Tags

Products


Release

R2019b