When I use a=arduino('COM6')
to connect arduino by matlab2010a, but error. What problem is it? The board is OK?
>> a=arduino('COM6')
Attempting connection .............
Warning: A timeout occurred before the Terminator was reached.
??? Error using ==> arduino>arduino.arduino at 101
Connection unsuccessful, please make sure that the Arduino is powered on, running either srv.pde, adiosrv.pde or
mororsrv.pde, and that the board is connected to the indicated serial port. You might also try to unplug and
re-plug the USB cable before attempting a reconnection.
unable to communicate with arduino mega 2560, simulink replying error as "unable to download program to arduino", though it is well detected by simulink.
When i start with a=arduino('COM5');
it returns a error
"??? Undefined function or method 'arduino' for input arguments of type 'char'."
i can't figure out why. can anybody help me?
Comment only