This example shows how to add support for LEGO® MINDSTORMS® NXT hardware to the Simulink® product. After you complete this process, you can run Simulink models on your LEGO MINDSTORMS NXT hardware.
To install support for LEGO MINDSTORMS NXT hardware:
In a MATLAB Command Window, enter
This starts the Support Package Installer.
Follow the instructions and default settings provided by Support Package Installer to complete the installation. For more information about the options on a particular screen, click the Help button.
This process downloads and installs:
Third-party software development tools on your host computer.
A Simulink block library called Simulink Support Package for LEGO MINDSTORMS NXT Hardware.
For convenience, this document occasionally refers to LEGO MINDSTORMS NXT hardware as an "NXT brick" or as "target hardware".
To check for updates, repeat this process when a new version of MATLAB® software is released. You can also check for updates between releases.