Arduino Leonardo Matlab Interface

4 visualizaciones (últimos 30 días)
Rajesh Ravindran
Rajesh Ravindran el 9 de Jun. de 2015
Respondida: Gareth Thomas el 5 de Jul. de 2015
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!

Respuestas (1)

Gareth Thomas
Gareth Thomas el 5 de Jul. de 2015
Try the latest version of MATLAB - R2015a.
It shows that Leonardo is supported from both MATLAB and Simulink.

Categorías

Más información sobre MATLAB Support Package for Arduino Hardware en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by