| Contents | Index |
| On this page… |
|---|
The following examples will help you get started with using Simulink Coder to generate code from Simulink models and subsystems:
Each example focuses on a specific aspect of code generation or integration and is self-contained. Skim or skip examples that do not apply to your needs.
If you are licensed to use the Embedded Coder product, additional examples, based on the same models and test harness, are available.
For these examples, you must know how to use MathWorks products to do the following:
Create Simulink models
Include Stateflow charts in Simulink models
Run Simulink simulations and evaluate the results
Each example uses a unique example model file and data set.
Before you use each example model file, place a copy in a writable location and add it to your MATLAB path.
As you proceed through a example, save your changes for future examination.
To avoid potentially introducing errors, begin each example by opening a new model and loading new data.
![]() | Getting Started Examples | Get Familiar with the Example Model and Testing Environment | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |