Simulink® Support Package for LEGO® MINDSTORMS® NXT Hardware lets you develop algorithms for LEGO MINDSTORMS NXT robots. The support package extends Simulink with blocks for configuring and accessing the robot’s sensors, actuators, and communication interfaces. You can develop algorithms in Simulink, verify they work in simulation, and download the completed algorithm for standalone execution on the NXT brick (via USB). You can also tune parameters live from your Simulink model while the algorithm runs on the device.
The support package is available in MATLAB R2014a and newer releases, and includes:
LEGO MINDSTORMS NXT is a robust, low-cost, and flexible platform for robotics that helps you understand the workflow for designing an embedded system using block diagrams. LEGO MINDSTORMS NXT features a 32-bit ARM microcontroller (256 KB flash and 64 KB RAM), provides ports for connecting a variety of sensors, such as ultrasound, color/light, and touch, and supports USB and Bluetooth.
See the hardware support package system requirements table for current and prior version, release, and platform availability. For more information on current support for specific releases, please refer to this MATLAB Answers post.
View enhancements and bug fixes in release notes.
Ask a question or share your files with the MATLAB community.
Before installing the support package, confirm you have the correct setup. View system requirements and installation options.
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.
All required third-party software is installed by the Support Package Installer.