Model Configuration Parameters: Code Generation Identifiers
The Code Generation > Identifiers category includes parameters for configuring the identifiers in the generated code. These parameters require a Simulink® Coder™ license. Additional parameters available with an ERT-based target require an Embedded Coder® license.
On the Configuration Parameters dialog box, the following configuration parameters are on the Code Generation > Identifiers pane.
Parameter | Description |
---|---|
Customize generated global variable identifiers. | |
Customize generated global type identifiers. | |
Customize generated field names of global types. | |
Customize generated function names for subsystems and Simulink functions. | |
Customize generated function argument names for subsystems and Simulink functions. | |
Customize generated local temporary variable identifiers. | |
Customize generated local block output variable identifiers. | |
Customize generated constant macro identifiers. | |
Customize shared utility identifiers. | |
Specify the minimum number of characters for generating name-mangling text to help avoid name collisions. | |
Specify maximum number of characters in generated function, type definition, variable names. | |
Specify whether the code generator uses shorter, more consistent names for the $N token in system-generated identifiers. | |
Control expression of scalar inlined parameter values in the generated code. | |
Specify whether to use the same reserved names as those specified in the Simulation Target pane. | |
Enter the names of variables or functions in the generated code that match the names of variables or functions specified in custom code. | |
Header guard prefix | Specify custom text to prepend to header guards in the generated code. |
The following configuration parameters are under the Advanced parameters.
Parameter | Description |
---|---|
Specify character length of | |
EMX array utility functions identifier format | Customize generated identifiers for |
EMX array types identifier format | Customize generated identifiers for |
Custom token text | Specify text to insert for $U token. |
Select the diagnostic action to take if the code generator detects two enumeration types with same member names. This parameter applies to only enumeration with imported data scope and the same storage type and value. | |
Specify rules for naming signals in generated code. | |
Specify rule for naming parameters in generated code. | |
Specify rule for naming | |