MATLAB: I can not connect the arduino to MATLAB

hhax.MATLAB

>> a=arduino('COM5'); Attempting connection …………. Warning: Unsuccessful read: A timeout occurred before the Terminator was reached. Error using arduino (line 104) Connection unsuccessful, please make sure that the board is powered on, running a sketch provided with thepackage, and connected to the indicated serial port. You might also try to unplug and re-plug the USB cable before attempting a reconnection. Please tell me how to fix this error, i used Matlab 2013a, does it support this feature?

Best Answer

Which sketch are you using? During the mean time, please try this workaround.
Related Question