Cannot connect arduino Mega2560 to matlab2016a

4 次查看(过去 30 天)
>> 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 个评论
Gongyan Du
Gongyan Du 2018-10-13
Help me, please. How to change Arduino Folder name under C/User. Give me a picture. My email dugongyan@163.com Thanks you!

请先登录,再进行评论。

回答(2 个)

wisam kh
wisam kh 2018-8-9
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 2019-10-23
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

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by