Documentation

MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware

Interact with EV3 from MATLAB

MATLAB® Support Package for LEGO® MINDSTORMS® EV3 Hardware enables you to use MATLAB to communicate with the LEGO MINDSTORMS EV3 over a USB cable, wireless network, or Bluetooth®. MATLAB functions are provided to control the motors and interface with other sensors and actuators on the robot.

Installation and Setup

Install support for and connect to the hardware

Read and Write Data

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

Color Sensors

Read data from color sensors connected to the EV3 brick

Gyro Sensors

Read data from gyroscopic sensors connected to the EV3 brick

IR Sensors

Read data from infrared sensors connected to the EV3 brick

Motors

Control and read data from motors connected to the EV3 brick

Sonic Sensors

Read data from ultrasonic sensors connected to the EV3 brick

Touch Sensors

Read data from touch sensors connected to the EV3 brick