Arduino Leonardo Matlab Interface
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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!
0 Kommentare
Antworten (1)
Gareth Thomas
am 5 Jul. 2015
Try the latest version of MATLAB - R2015a.
It shows that Leonardo is supported from both MATLAB and Simulink.
0 Kommentare
Siehe auch
Kategorien
Mehr zu MATLAB Support Package for Arduino Hardware finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!