What Happens During the Target Building Process?
The target building process takes place as follows:
The charts in your model parse to
ensure that their logic is valid.
If any errors are found, diagnostic
error messages appear in the Build window, and the building process
stops. See Parse Stateflow Charts for
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
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
The specified C compiler for the MATLAB® environment
and a make utility build the code into an application for your target.
Was this topic helpful?