How can I complete the installation of MATLAB Support Package for Arduino (aka ArduinoIO Package)
2 views (last 30 days)
Hi, I downloaded the Matlab Support Package for Arduino from the file exchange location http://www.mathworks.com/matlabcentral/fileexchange/32374. However the installation as stated in the accompanying Readme.txt file could not be completed. I followed the steps listed below, but when I try to run the script file Arduino.m I get the following error.
"??? Error using ==> run classdef arduino | Missing operator, comma or semi-colon"
Could you please help resolve this problem? Here are the details
I have Arduino Duemilanove with Atmel Chip 328. The srv.pde has been loaded successfully and tested on the IDE using the SEND command ie 99 returns 3. Next the Arduino package is located in C:\ directory same as ArduinoIO package, and when I list the PATH command to Matlab, it shows the Path of the Arduino Package "C:/examples, C:\simulink, C:\" with the C:\MATLABR11 files. Instead of running the script from the Matlab drop down menu I chose the alternate way of typing
"a=arduino('COM4')". The response from Matlab is similar " ??? classdef arduino | Missing operator,comma,or semicolon Error in ==> c:\arduino.m Online 1 ==> classdef arduino > handle"
I am using MS Windows XP, Matlab version5.3(R11.1). Any help would be appreciated. Thanks