Hello,
I was trying to interface my arduino leonardo board with Matlab.
On the matlab command window, i wrote;
a = arduino ('com3','Leonardo') and i got a message displayed as below,
'Leonardo' is not recognized as a supported board.
Possible board values are:
Uno, Mega2560, Due.
I tried the following commands but none of them worked,
EDU>> a = arduino('com3','Due','TraceOn', true)
Failed to open serial port COM3 to communicate with Arduino board Due. Make sure there is no other MATLAB arduino object for this board. For troubleshooting, see Arduino Hardware Troubleshooting.
EDU>> a = arduino
Cannot detect Arduino hardware. Make sure original Arduino hardware is properly plugged in. If using unofficial(clone)
hardware, specify port and board type. For more information, see this user's guide for additional troubleshooting steps
EDU>> a = arduino('com3')
No Arduino hardware is found on port com3. If using an official Arduino board, make sure it is plugged in. Otherwise,
please specify both port and board type. For more information, see this user's guide for additional troubleshooting
steps.
The arduino board is working fine on Com3 and i can read sensor values from Arduino's serial monitor.
Why is Matlab not detecting my Arduino Leonardo board??
Please Help!