Embedded Coder Robot NXT Demo

Offers an enjoyable Model-Based Design experience using Simulink models with Lego robots
Updated 1 Mar 2012

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

News! R2012a Simulink supports LEGO MINDSTORMS NXT as a product standard feature. You can play with LEGO even without ECRobot NXT.

- This demo supports R2006a -> R2012a
Simulink plant and controller models are used with LEGO's latest high-tech robot (ARM-based LEGO Mindstorms NXT) to illustrate industrial application of Model-Based Design with Production Code Generation. Take note of the model architecture and component definition, as well as, use of fixed- and floating-point designs.

This demo includes three examples:
Maze walking tricycle robot
Line tracing tricycle robot
Self balancing bi-wheeled robot
NXT Remocon demo

In each example, you can simulate the robot on your personally designed bmp track with 3D virtual reality.

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.

Cite As

Takashi Chikamasa (2024). Embedded Coder Robot NXT Demo (https://www.mathworks.com/matlabcentral/fileexchange/13399-embedded-coder-robot-nxt-demo), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!












Version Published Release Notes

Updated description since R2012a released.

Updated ecrobotnxtsetup.m to support GNU Make 3.82

Support Windows7 (32bit/64bit)
Added HiTechnic Prototype Sensor blocks
Added NXT 2.0 Color Sensor blocks
Added external C code integration interface

Updated copyright notifications.

Updated to support R2010a.
Removed NXTway demo
Support for the latest nxtOSEK v2.12

Updated Description.