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:
Learn more about Arduino programming with MATLAB and Simulink.
Watch video to learn how to implement serial communication between Raspberry Pi and Arduino.
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.
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.
Related Hardware Support Views: Simulink, ARM, Bluetooth, Control Systems, C ∕ C++ Code Generation, Embedded Systems, LEGO, MathWorks Supported, Mechatronics, Project-Based Learning, Robotics, Run on Target Hardware, Support Package Installer Enabled, USB
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. For more information, read the documentation.