MATLAB Answers

0

matlab support for arduino is not available for this release of matlab (2013a)

Asked by mohamed gabr on 14 Mar 2015
Latest activity Answered by Brais Gonzalez on 9 Apr 2018
installed matlab support package for simulink , the model is downloaded successfully to the arduino mega . but the arduino kit doesn't execute it. " the arduino kit operates well away simulink but doesn't operate with simulink".
the second problem is i cant use matlab code for interacting with arduino , i tried to install matlab support package for arduino ' arduino.mlpkginstall' , i get the message matlab support for arduino is not available for this release of matlab , i use matlab 2013a release

  0 Comments

Sign in to comment.

1 Answer

Answer by Brais Gonzalez on 9 Apr 2018

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

  0 Comments

Sign in to comment.