Embedded Coder Robot NXT Demo

Offers an enjoyable Model-Based Design experience using Simulink models with Lego robots
64.4K Downloads
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.

<Disclaimer>
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!

ecrobotNXT/

ecrobotNXT/environment/

ecrobotNXT/environment/@NXT/

ecrobotNXT/environment/@nxtusb/

ecrobotNXT/environment/@w32serial/

ecrobotNXT/environment/private/

ecrobotNXT/externalsources/

ecrobotNXT/nxtmouse/

ecrobotNXT/nxtracer/

ecrobotNXT/nxtremocon/

ecrobotNXT/samples/

Version Published Release Notes
1.18.0.0

Updated description since R2012a released.

1.17.0.0

Updated ecrobotnxtsetup.m to support GNU Make 3.82

1.15.0.0

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

1.14.0.0

Updated copyright notifications.

1.13.0.0

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

1.12.0.0

Updated Description.