Arduino Hardware Support Package in MATLAB 2013a

조회 수: 9 (최근 30일)
AbdElrahman sayed
AbdElrahman sayed 2017년 7월 4일
답변: Brais Gonzalez 2018년 4월 9일
I have matlab 2013a and i want an arduino uno to it to run certain code, and we i tried to install packages , the process failed , i want to ask if there any way to make this work successfully

답변 (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

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by