Install Support for LEGO MINDSTORMS EV3 Hardware

You can add support for LEGO® MINDSTORMS® EV3 hardware to the Simulink® product by installing the Simulink Support Package for LEGO MINDSTORMS EV3 Hardware.

This process installs the following items on your host computer:

  • Third-party software development tools

  • A Simulink block library

  • Examples

After you complete this installation and set up the EV3 hardware, you can run Simulink models on your LEGO MINDSTORMS EV3 hardware.

For convenience, this document also refers to the EV3 hardware as “hardware” or “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.

Complete Additional Setup Tasks

  1. If you clicked Setup Later at the end of the Add-On Manager installation process, you can restart hardware setup process.

    • On the MATLAB Home tab, in the Environment section, click Add-Ons > Manage Add-Ons. When the Add-On Manager opens, click Setup

    • Enter targetupdater in the MATLAB Command Window.

  2. In Support Package Installer, follow the on-screen instructions for each screen to install the LEGO MINDSTORMS EV3.

    For more information about the options on a particular screen, click the Help button.

  3. On the last screen, click Finish.

    Leave Show support package examples enabled to show Simulink Support Package for LEGO MINDSTORMS EV3 Hardware Examples.

  4. If you have not done so previously, set up the EV3 hardware, as described in Set Up the EV3 Hardware.