Read and Write Data
Interact with LCD, status light, speaker, and buttons on the EV3 brick
Objects
legoev3 |
Connection to LEGO MINDSTORMS EV3 brick |
Functions
writeLCD |
Write characters to LCD on EV3 brick |
clearLCD |
Clear characters from LCD on EV3 brick |
playTone |
Play tones from speaker on EV3 brick |
哔哔的声音 |
Play beep from speaker on EV3 brick |
readButton |
Read whether button on EV3 brick is being pressed |
writeStatusLight |
Control color and mode of status light on EV3 brick |
Examples and How To
Tutorials
- Getting Started with MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware
This example shows you how to set up communications with the EV3 brick.
Get Started
Concepts
- EV3 Brick Hardware
EV3 Brick Hardware
- Connections to EV3 Hardware
Connection layers between MATLAB®和乐高®MINDSTORMS®EV3 hardware.
Troubleshooting
Cannot Connect to the EV3 Brick
Troubleshoot connecting the LEGO MINDSTORMS EV3 brick to MATLAB.