Check the System Requirements
To install a hardware support package, you must have a supported product release, along with the required operating system and base product.
View the
hardware support package system requirements table
and confirm you have:
A supported release
A supported operating system
The required base products
If you do not have a supported release or the required base products, you can get started with a
free trial
, or you can
purchase products
.
Continue with the Installation
After confirming you have the system requirements, proceed with either installation option listed below.
Clicking the
Get Support Package
button provides the support package install file:
([filename].mlpkginstall)
There are several ways to initiate the Support Package Installer from these files:
Open the
.mlpkginstall
file directly from your Internet browser.
Download and save the file (the default option for some Internet browsers), and open it directly from your Windows, Mac, or Linux operating system.
Open the
.mlpkginstall
file directly from within MATLAB by navigating the Current Folder to the location of the downloaded file and double clicking it. That will initiate the installation for the MATLAB release that you have open.
The primary difference between using the
.mlpkginstall
file (option 2) rather than the toolstrip (option 1) to initiate support package installation is that the file allows the user to avoid the support package selection screen on the installer.
*These file types were introduced in MATLAB R2013a.
Support Package Installer installs this support
package
and all required third-party software. To start the
installer, go to the MATLAB toolstrip and click
Add-Ons
> Get Hardware Support Packages.
Capabilities and Features
Simulink Support Package for LEGO
®
MINDSTORMS
®
EV3 Hardware lets you program and run algorithms on LEGO MINDSTORMS EV3 robots. The support package includes a library of Simulink blocks for configuring and accessing the robot’s sensors, actuators, and communication interfaces.
You can develop algorithms in Simulink, simulate them to verify that they work as intended, and download the completed algorithm for standalone execution on the device (via USB, Bluetooth, Wi-Fi, or Ethernet connection). You also have the ability to tune parameters live from your Simulink model while the algorithm runs on the EV3 brick.
The support package includes:
Library of Simulink blocks that connect to LEGO MINDSTORMS EV3 I/O, including buttons and speakers; numerous input sensors including color, touch, gyro, ultrasonic, infrared, and encoder; and output sensors such as servo motor, status light, and display
Support for LEGO MINDSTORMS NXT sensors on LEGO MINDSTORMS EV3 Bricks, including ultrasonic, touch, sound, battery, timer, and gyroscope
Interactive parameter tuning of outputs and signal monitoring of sensor inputs for applications running on LEGO MINDSTORMS EV3
UDP and TCP/IP blocks to let your LEGO MINDSTORMS EV3 communicate with
Arduino
,
Raspberry Pi™
, and mobile devices (
Android
)
Model deployment for standalone operation
Learn more about
Arduino programming with MATLAB and Simulink
.
Watch video to learn how to implement serial communication
between Raspberry Pi and Arduino
.
About LEGO MINDSTORMS EV3
LEGO MINDSTORMS EV3
is based on a brick that includes an ARM
®
9-based processor, micro SD card reader, and USB port for Wi-Fi connectivity. It connects to a variety of sensors, such as ultrasound, color/light, gyroscope, and touch. It also connects to up to four servo motors that enable to build mobile robots. It can be programmed to do tasks such as line following and object detection and avoidance.
Platform and Release Support
See the
hardware support package system requirements table
for current and prior version, release, and platform availability.
View enhancements and bug fixes in
release notes
.
Getting Started with LEGO MINDSTORMS EV3 Hardware
Communicating with LEGO MINDSTORMS EV3 Hardware
Drive with PID Control for LEGO MINDSTORMS EV3 Hardware
Line Tracking for LEGO MINDSTORMS EV3 Hardware
Controlling LEGO MINDSTORMS EV3 Robot Using Raspberry Pi Sense HAT (LEGO EV3 + Raspberry Pi + Sense HAT)
Controlling LEGO MINDSTORMS EV3 Robot from Host Computer (LEGO EV3)
LEGO MINDSTORMS EV3
retail set (31313) or
LEGO MINDSTORMS EV3 Education Core set
(5003400)
Requires access to Wi-Fi network with
NETGEAR N150 Wireless Adapter (WNA1100)
or access to network hub with
Apple USB Ethernet Adapter
and Ethernet cable