读写数据
与 EV3 模块外围设备交互
与 EV3 模块上的 LCD、状态灯、扬声器和按钮交互
对象
legoev3 | Connection to LEGO MINDSTORMS EV3 brick |
函数
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 |
教程
- Getting Started with MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware
This example shows you how to set up communications with the EV3 brick.
开始使用
主题
- EV3 Brick Hardware
EV3 Brick Hardware
- Connections to EV3 Hardware
Connection layers between MATLAB® and LEGO® MINDSTORMS® EV3 hardware.
疑难解答
Cannot Connect to the EV3 Brick
Troubleshoot connecting the LEGO MINDSTORMS EV3 brick to MATLAB.