Documentation

Model Configuration Parameters: Simulation Target

The Simulation Target category includes parameters for configuring the simulation target for a model that contains MATLAB Function blocks, Stateflow® charts, or Truth Table blocks.

On the Configuration Parameters dialog box, the following configuration parameters are on the Commonly Used tab on the Simulation Target pane, or on the All Parameters tab in the Simulation Target category.

ParameterDescription

Parse custom code symbols

Specify whether or not to parse the custom code and report unresolved symbols in a model. This setting applies to all C charts in the model, including library link charts.

Source file

Enter code lines to appear near the top of a generated source code file.

Header file

Enter code lines to appear near the top of a generated header file.

Initialize function

Enter code statements that execute once at the start of simulation.

Terminate function

Enter code statements that execute at the end of simulation.

Include directories

Specify a list of folder paths that contain files you include in the compiled target.

Source files

Specify a list of source files to compile and link into the target.

Libraries

Specify a list of static libraries that contain custom object code to link into the target.

Reserved names

Enter the names of variables or functions in the generated code that match the names of variables or functions specified in custom code for a model that contains MATLAB Function blocks, Stateflow charts, or Truth Table blocks.

Defines

Specify preprocessor macro definitions to be added to the compiler command line.

Related Examples

Was this topic helpful?