Main Content
Read and Write Data
Interact with EV3 brick peripherals
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 |
beep | 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 |
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
Topics
- EV3 Brick Hardware
EV3 Brick Hardware
- Connections to EV3 Hardware
Connection layers between MATLAB® and LEGO® MINDSTORMS® EV3 hardware.
Troubleshooting
Cannot Connect to the EV3 Brick
Troubleshoot connecting the LEGO MINDSTORMS EV3 brick to MATLAB.