Real-Time Workshop Embedded Coder    

Real-Time Workshop Embedded Coder Demos
and Examples

Demos

We have provided a number of demos to help you become familiar with features of the Real-Time Workshop Embedded Coder and to inspect generated code. These demos illustrate features specific to the Real-Time Workshop Embedded Coder as well as general Real-Time Workshop features as used with the Embedded Coder.

If you are reading this document online in the MATLAB Help browser, you can run the demos by clicking on the links in the Command column of the following table.

Alternatively, you can access the demo suite by typing commands from the Command column of the table at the MATLAB command prompt, as in this example:

ECRobot Target Example

The ECRobot (Embedded Coder Robot) target is a simple example of a custom target based on the Real-Time Workshop Embedded Coder.

Programs generated by the ECRobot target run on the Robot Command System (RCXTM) module of the LEGO® MINDSTORMSTM Robotics Invention System2.0TM.

This platform affords an inexpensive and simple way to study concepts and techniques essential to developing a custom embedded target, and to develop, run and observe generated programs. The files included with the target illustrate typical approaches to problems encountered in custom target development, including

The ECRobot target, originally developed as a training class example and demonstration, is now available to all Real-Time Workshop Embedded Coder users. The ECRobot target files are automatically installed with the Real-Time Workshop Embedded Coder. Source code files, control files, demonstration models, and documentation for the target are installed in the directory matlabroot/toolbox/rtw/targets/ECRobot.


  Introduction Data Structures and Program Execution