Model Configuration Parameters: Code Generation Code Placement - MATLAB & Simulink (original) (raw)

The Code Generation > Code Placement category includes parameters for configuring the appearance of the generated code. On the Configuration Parameters dialog box, the following configuration parameters are on the Code Generation > Code Placement pane.

Parameter Description
Data definition Specify where to place definitions of global variables.
Data definition filename Specify the name of the file that is to contain data definitions.
Data declaration Specify whereextern,typedef, and#define statements are to be declared.
Data declaration filename Specify the name of the file that is to contain data declarations.
#include file delimiter Specify the type of#include file delimiter to use in generated code.
Use owner from data object for data definition placement Specify whether the model uses or ignores the ownership setting of a data object for data definition in code generation.
Signal display level Specify the persistence level for MPT signal data objects.
Parameter tune level Specify the persistence level for MPT parameter data objects.
File packaging format Specify whether code generation modularizes the code components into many files or compacts the generated code into a few files.
Header files Specify customized name for generated header files.
Source files Specify customized name for generated source files.
Data files Specify customized name for generated data files.
Rate Transition block code Specify the format for Rate Transition block code and data.