View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
NXT-LTD: Line Tracking Dancing Robot Demo

5.0 | 1 rating Rate this file 8 Downloads (last 30 days) File Size: 142 KB File ID: #41705 Version:

NXT-LTD: Line Tracking Dancing Robot Demo



23 May 2013 (Updated )

Modeling Logic for Robot Control with Simulink and Stateflow

| Watch this File

File Information

NXT-LTD is a two-wheeled robot built with LEGO Mindstorms NXT. This demo presents sample models and documents describe the following contents.
How to Build NXT-LTD
Mathematical Dynamics Model of Controller Design for Balance and Drive Control

You can generate the controller program that can be executed on the NXT.

This demo uses Stateflow to design the logic for the Robot and the Simulink Support Package for LEGO Mindstorm NXT to communicate with the hardware. Find more information about Stateflow and the support package below:

LEGO(R) is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this demo. LEGO(R) and Mindstorms(R) are registered trademarks of The LEGO Group.


Nx Tway Gs (Self Balancing Two Wheeled Robot) Controller Design inspired this file.

Required Products Simulink
Target Support Package
MATLAB release MATLAB 8.1 (R2013a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
10 Jul 2013 Siddharth

Hi Paul:
find a video recording about how to build this demo in the webinar titled "Modeling Logic for Robot Control" on


Comment only
02 Jul 2013 Paul Kassebaum

Do you have any instructions on how to build this robot? May I see a video of the robot running this model?

23 May 2013 1.2

cosmetic: changed subsystem view

01 Sep 2016

Updated license

Contact us