Cannot connect arduino Mega2560 to matlab2016a
Show older comments
>> 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
wenquanhotspring
on 6 Jun 2016
Gourav Pawar
on 18 Feb 2017
Thanks for your answer. I searched a lot for the same problem from 2 days, and this solution is worked for me.
Gourav Pawar
on 18 Feb 2017
Thanks for your answer. I searched a lot for the same problem from 2 days, and this solution is worked for me.
bilal malik
on 18 Mar 2017
Thanks. Worked for me too.
Gongyan Du
on 13 Oct 2018
Help me, please. How to change Arduino Folder name under C/User. Give me a picture. My email dugongyan@163.com Thanks you!
ibra
on 1 Apr 2019
OH MY GOD THANK YOU I LOVE YOU
Answers (2)
wisam kh
on 9 Aug 2018
0 votes
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
1 Comment
ibra
on 1 Apr 2019
me too, but then it worked!
Spencer Kraisler
on 23 Oct 2019
0 votes
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!