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

5.0

5.0 | 2 ratings Rate this file 113 Downloads (last 30 days) File Size: 3.32 MB File ID: #35206
image thumbnail

Simulink Support Package for LEGO MINDSTORMS NXT hardware (R2012a)

by

 

23 Feb 2012 (Updated )

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

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information
Description

LEGO MINDSTORMS NXT (mindstorms.lego.com/) is a robotics invention system for creating and controlling robots using programmable motors and sensors.
With R2012a, 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

---------------------
This FileExchange entry is for R2012a support.

For more information on LEGO MINDSTORMS NXT support, see:
www.mathworks.com/hardware-support/index.html?q=%20vendor:%22LEGO%22

For more information on built-in hardware support, see:
http://www.mathworks.com/products/simulink/simulink-targets
---------------------

Required Products Simulink
MATLAB
MATLAB release MATLAB 7.14 (R2012a)
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 (15)
10 Jan 2014 Mehdi

Hi, I have to use RFID sensor in my hardware which is not supported by simulink. Do you have any idea to add this sensor in simulink? Thanks,

18 Nov 2013 Xantopp

Hi all,
got same Problem as federica, installatio hangs after (successful) install of 7zip in cygwin step, details below...
Any Help??
Xantopp

OS: Win7 HW:
MB: setup-x86-64.exe funktioniert nicht mehr (... stopped working, Collecting info...)
MB: ... sending info...
MB: long protokoll...
get_url_to_membuf http://mirror.cs.vt.edu/x86/setup.bz2
getUrlToStream http://mirror.cs.vt.edu/x86/setup.bz2
getUrlToStream failed!
get_url_to_membuf failed!
get_url_to_membuf http://mirror.cs.vt.edu/x86/setup.bz2.sig
getUrlToStream http://mirror.cs.vt.edu/x86/setup.bz2.sig
getUrlToStream failed!
get_url_to_membuf failed!
get_url_to_membuf http://mirror.cs.vt.edu/x86/setup.ini
getUrlToStream http://mirror.cs.vt.edu/x86/setup.ini
getUrlToStream failed!
get_url_to_membuf failed!
get_url_to_membuf http://mirror.cs.vt.edu/x86/setup.ini.sig
getUrlToStream http://mirror.cs.vt.edu/x86/setup.ini.sig
getUrlToStream failed!
get_url_to_membuf failed!
mbox note: Unable to get setup.ini from <http://mirror.cs.vt.edu/>
unattended_mode is set at mbox: returning default value
download/verify error in unattended_mode: out of retries
note: Installation incomplete. Check C:\MATLAB\SupportPackages\R2013a\downloads\Cygwin\setup.log.full for details
Ending cygwin install

10 Nov 2013 Jingyu Xiang

I am trying to install this support package but I got an error. The error says that "There is no target information file about LEGO MINDSTORMS NXT rrt_lego_mindstorms_nxt_info." (Because my matlab is in Japanese, the error massage is not correct in Engilish.) Could anyone tell me what I should do ?

29 Oct 2013 Gautam Vallabha

Johanna, what platform are you on? This support package is only for Windows. Also, on Windows, if you type "targetinstaller" and choose "Internet", you should able to install the LEGO NXT support.

29 Oct 2013 Johanna

I am trying to install this support package but when I point Matlab targetinstaller to the extracted file it gives me the error message "Lego Mindstorm\lego does not contain a valid support package.
Please specify a folder that contains a valid support package and try again." I am using MATLAB 2012a, can anyone say what I am doing wrong?

18 Aug 2013 federica

I am sorry but The automatic installation on my computer cannot install the Cygwin and i don't understand why. I've Matlab 2012a on a Macbook with OS Windows 8. Can you help me?

19 Jan 2013 Jen-Yu Hsiao

Sorry, Can I accurately control the motor angle every sampling time by this?

10 Jun 2012 daniel

excellent

23 May 2012 moamoa

FYI

04 May 2012 ncsu  
04 May 2012 sshield01

great product!

09 Apr 2012 Gautam Vallabha

Fausto, I replied to your question at http://www.mathworks.com/matlabcentral/answers/34734-lego-mindstorm-installation-problem

09 Apr 2012 sshield01

The targetinstaller script was very easy to use, it automatically installed all the required support packages in about half hour on my 32-bit windows 7 box. After installation, I could successfully play with the Mindstorms demos via USB. I didn't try bluetooth yet.Since I borrowed Mindstorms NTX from a friend, I didn't have the original Lego mindstorms NTX software installed on my PC.

06 Apr 2012 Fausto

I am sorry. The automatic installation on my computer cannot install the GNU ARM compiler. The message says that it is corrupt. I download manually and it shows that the file is corrupt too. There is a newer version of GNU ARM compiler that works. Please help me. I do not know haow to do the installation manually.

30 Mar 2012 MathWorks Simulink Team

General guidelines:
* Please use this FileExchange page to post general comments and ratings on the support package

* If you have questions about using this support package, post your question at http://www.mathworks.com/matlabcentral/answers (with tag "lego", and product "simulink")

* If you have an enhancement request or wish to report a possible bug, contact MathWorks Technical Support at
http://www.mathworks.com/support/contact_us/

Updates
09 Apr 2012

Updated license addendum

29 May 2012

Updated URLs for 7zip and nxtOSEK

12 Sep 2012

Updated title and description to emphasize that this entry is for R2012a support

20 Feb 2013

-updated third party software dependence

11 Apr 2013

Updated third party software dependence (GNUARM)

29 Aug 2013

Update to version 1.1: Fixes Cygwin issue.

17 Sep 2013

Minor license update

17 Sep 2013

Minor license update

03 Oct 2013

Update to address Cygwin download issue.
Updated image.

06 Dec 2013

* Update to v1.3 to reduce dependencies including Cygwin

18 Sep 2014

update link

Contact us