Products & Services Solutions Academia Support User Community Company

Learn more about Stateflow   

What Happens During the Target Building Process?

The target building process takes place as follows:

  1. The charts in your model parse to ensure that their logic is valid.

  2. If any errors are found, diagnostic error messages appear in the Build window, and the building process stops. See Parsing Stateflow Charts for more details.

  3. If your charts parse without error, code generation software generates C code from your charts.

    You can specify code generation options when you configure your targets.

  4. Code generation software produces a makefile to build the generated source code into an executable program.

    The makefile can optionally build your custom code into the target.

  5. The specified C compiler for the MATLAB environment and a make utility build the code into an application for your target.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS