Code covered by the MathWorks Limited License

Highlights from
Simulink Support Package for LEGO MINDSTORMS NXT hardware (R2012b)

Be the first to rate this file! 54 Downloads (last 30 days) File Size: 3.13 MB File ID: #37896 Version: 1.11
image thumbnail

Simulink Support Package for LEGO MINDSTORMS NXT hardware (R2012b)



12 Sep 2012 (Updated )

Simulink block library for creating models that run directly on your LEGO MINDSTORMS NXT robot

| Watch this File

File Information

LEGO MINDSTORMS NXT ( is a robotics invention system for creating and controlling robots using programmable motors and sensors.
In R2012b, Simulink provides built-in support for prototyping, testing, and running models on LEGO MINDSTORMS NXT robots. You can design algorithms in Simulink for control systems and robotics applications then see them perform with hardware.
To install support for LEGO MINDSTORMS NXT, at the MATLAB command prompt, type "targetinstaller". Target Installer opens.
• If you did not download the support package, choose Internet. Target Installer automatically downloads and installs the support package.
• If you did download the support package, choose Folder. After you specify a location, Target Installer installs this support package.

Simulink support for LEGO MINDSTORMS NXT includes the following I/O driver blocks:
• Microphone and speaker
• Input sensors, including light, color, touch, and ultrasonic
• Output sensors, such as servo motor and LCD
• Send and receive using Bluetooth wireless connections between multiple LEGO MINDSTORMS NXT robots

For more information on LEGO MINDSTORMS NXT support, see:

For more information on built-in hardware support, see:

For R2012a support, see:

Alternatively, type "targetinstaller" at the R2012a MATLAB command prompt and choose Internet.

Required Products Simulink
MATLAB release MATLAB 8.0 (R2012b)
MATLAB Search Path
Other requirements Simulink Support for LEGO MINDSTORMS NXT requires Microsoft Windows.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
25 Oct 2013 Brad Humphreys

Brad Humphreys (view profile)

Is there any plans to support Linux?

Comment only
28 May 2013 Laila Kazemi

Hello , when Im trying to install lego nxt support package I get an Error. It contains:
Error using open [line 163]
Invalid MEX-file 'C:\Windows\system32\ver.dll': is not a valid Win32 Application

my system is 32 bit

thank you all

Comment only
20 Feb 2013 MathWorks Simulink Team

@John - we are working to resolve this issue with gnuarm. You may contact Technical Support who can keep you more apprised if you would like.

Comment only
16 Feb 2013 John

John (view profile)


I am getting an error when I try to install this package. The error is "Cannot download Error downloading URL. Your network connection may be down or your proxy settings improperly configured.."

It appears that the site is down. Is there a way for me to manually install the needed files?



Comment only
18 Jan 2013 Amr

Amr (view profile)

Hi All,
I am getting this message when I try installing (2012b)
error installing thirda party nxt OSEK: the system cannot find the path specified

Please help

Comment only
13 Sep 2012 Tomas

Tomas (view profile)

Do I understand right that this works only for Windows? If so, is the any Linux support? Thank you.

Comment only
12 Sep 2012 1.1

Minor fix related to external mode functionality

20 Feb 2013 1.2

updated based on third party software dependence

11 Apr 2013 1.3

Updated third party software dependence (GNUARM)

29 Aug 2013 1.6

Update to version 2.1: Fixes Cygwin issue

17 Sep 2013 1.7

Minor license change

08 Oct 2013 1.8

Updated to handle recent Cygwin changes
Updated image

06 Dec 2013 1.9

Update to version 2.3 to reduce dependencies, including Cygwin

18 Sep 2014 1.10

update link

04 Aug 2015 1.11

Update includes fix for USB driver

Contact us