I successfully used Arduino I/O with MATLAB R2009b. Only some Port COM problems due to XP platform: return to default port number after a deconnexion of Arduino board.
I successfuly used Arduino with R2011a
I tried the same in the classroom with R2007b
No problem with install_arduino, but with
arduino('COM5') I received an error message:
??? Error: File: arduino.m Line: 6 Column: 35
Undefined function or variable 'private'.
Error in ==> StartArd at 10
a=arduino('COM5')
Is it possible to solve the problem on this version R2007b of Matlab or have I to take time to install R2012a on all classrooms?
hello
i am trying to control the motion of a motor by using simulink blocks(of arduino matlab support package).i need an encoder(position) input as feed back in my control model.
can any one help me how can i read encoder value in my control model?
Can I control a servo motor from Matlab without using a motor shield
I tried to use this code:
a=arduino('COM3');
a.pinMode(10, 'OUTPUT');
a.analogWrite(10, x); % where x= from 0 up to 255
but it did not work
can anyone help me??
Comment only