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
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.
On the MATLAB Home tab, in the Environment section, select Add-Ons > Get Hardware Support Packages.
In the Add-On Explorer window, click the support package and then click Install.
On the MATLAB Home tab, in the Environment section, select Help > Check for Updates.
On the MATLAB Home tab, in the Environment section, click Add-Ons > Manage Add-Ons.
In the Add-On Manager window, find and click the support package, and then click Uninstall.
Configure and set up communications between your host computer and the LEGO MINDSTORMS EV3 hardware.
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
Follow the instructions and default settings.
As you proceed, for more information about the options, click the Help button.
On the last screen, click Finish.
If you leave Show support package examples enabled, Support Package Installer automatically opens the list of MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware Examples.
These examples show how to use MATLAB scripts with the EV3 hardware.