Arduino not working after upgrading from MATLAB 2012a to 2013b.

1 次查看(过去 30 天)
I was earlier using ARDUINO mega with matlab 2012a and simulink which was working fine. I few days back upgraded it to 2013b. Now after adding support package in matlab(from ADD ON option)matlab is unable to make connection with board. I tried with arduino IDE where i observed that sketch is uploading successfully but no tx rx blinking and no execution of the sketch is observed. Board is working fine when tested with ide on other computer. I am using core i5 with win7
Your help in this matter will be highly obliging

回答(1 个)

Brais Gonzalez
Brais Gonzalez 2018-4-9
You need to use by Giampiero Campa Legacy MATLAB and Simulink Support for Arduino between Matlab Arduino 2006 and Matlab Arduino 2013
Explanation in https://es.mathworks.com/matlabcentral/fileexchange/32374-legacy-matlab-and-simulink-support-for-arduino?focused=6202591&tab=function
Additional Explanation
Answer for Error using arduino (line 104) Warning: Unsuccessful read: A timeout occurred before the Terminator was reached.
The answer is: 1 In the Arduino software(IDE). You need write the code, which you find in file "adioes.pde" There are three files adio, adioe, adioes. A for analog D for digital I for input O for Output E for encoder S for Servo. If you need a Servo o a encoder, you need put the code more complete adioes. 2 Compile this code and send to arduino. Close the IDE 3 To open matlab and to write a=arduino("COMxx") 4 You has finalized the Arduino instalation 0 Comments

类别

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