Main Content

Read and Write Data

Interact with EV3 brick peripherals

Interact with LCD, status light, speaker, and buttons on the EV3 brick

Objects

legoev3Connection to LEGO MINDSTORMS EV3 brick

Functions

writeLCDWrite characters to LCD on EV3 brick
clearLCDClear characters from LCD on EV3 brick
playTonePlay tones from speaker on EV3 brick
beepPlay beep from speaker on EV3 brick
readButtonRead whether button on EV3 brick is being pressed
writeStatusLightControl color and mode of status light on EV3 brick

Tutorials

Topics

Troubleshooting

Cannot Connect to the EV3 Brick

Troubleshoot connecting the LEGO MINDSTORMS EV3 brick to MATLAB.

Featured Examples