Main Content

Adding Support for LEGO MINDSTORMS EV3 Hardware

Add support for LEGO® MINDSTORMS® EV3 hardware to the MATLAB® product by installing the MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware.

This process installs the following items on your host computer:

  • Third-party software development tools

  • MATLAB commands

  • Examples

This process does not install a customized version of the EV3 operating system (firmware) on the EV3 brick.

When you complete this installation, you can use MATLAB commands to control and retrieve data from LEGO MINDSTORMS EV3 hardware and peripherals.

The LEGO MINDSTORMS EV3 hardware is also referred to as a brick or as target hardware.

Install, Update, or Uninstall Support Package

Install Support Package

  1. On the MATLAB Home tab, in the Environment section, select Add-Ons > Get Hardware Support Packages.

  2. In the Add-On Explorer window, click the support package and then click Install.

Update Support Package

On the MATLAB Home tab, in the Environment section, select Help > Check for Updates.

Uninstall Support Package

  1. On the MATLAB Home tab, in the Environment section, click Add-Ons > Manage Add-Ons.

  2. In the Add-On Manager window, find and click the support package, and then click Uninstall.

Hardware Setup

Hardware boards and devices supported by MathWorks® require additional configuration and setup steps to connect to MATLAB and Simulink®. Each support package provides a hardware setup process that guides you through registering, configuring, and connecting to your hardware board.

If the support package is already installed, you can start the hardware setup by opening the Add-On Manager.

In the Add-On Manager, start the hardware setup process by clicking the Setup button, .

After starting, the Hardware Setup window provides instructions for configuring the support package to work with your hardware.

Follow the instructions on each page of the Hardware Setup window. When the hardware setup process completes, you can open the examples to get familiar with the product and its features.