Cannot connect arduino Mega2560 to matlab2016a

3 views (last 30 days)
>> a =arduino('COM4', 'Mega2560')
Updating server code on board Mega2560 (COM4). Please wait.
Cannot program board Mega2560 (COM4). Please make
sure the board is supported and the port and board
type are correct.
  6 Comments

Sign in to comment.

Answers (2)

wisam kh
wisam kh on 9 Aug 2018
when I change the name and what to open skitch again to upload empty skitch to rest arduino get this error
The sketchbook folder no longer exists. Arduino will switch to the default sketchbook location , and create a new sketchbook folder if necessary. Arduino will then stop talking about himself in the third person.
and the arduino folder generated again

Spencer Kraisler
Spencer Kraisler on 23 Oct 2019
Tried this and it did not work. Still getting that "Cannot program board Mega2560 (/dev/cu.usbmodem144101). Please make sure the board is supported and the port and board type are correct." error

Categories

Find more on MATLAB Support Package for 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!