Insufficient maximum identifier length
Description
For referenced models, specify diagnostic action when the configuration parameter Maximum identifier length does not provide enough character length to make global identifiers unique across models.
Category: Diagnostics
Settings
Default:
warning
warning
The code generator displays a warning message when the configuration parameter Maximum identifier length does not provide enough character length to make global identifiers unique across models. The code generator truncates the identifier to fit the specified value in the configuration parameter Maximum identifier length in the generated code.
error
The code generator displays an error message when the configuration parameter Maximum identifier length does not provide enough character length to make global identifiers unique across models.
none
The code generator does not display a message when the configuration parameter Maximum identifier length does not provide enough character length to make global identifiers unique across models. The code generator truncates the identifier to fit the specified value in the configuration parameter Maximum identifier length in the generated code.
Command-Line Information
Parameter:
ModelReferenceSymbolNameMessage |
Type: character vector |
Value:
'none' | 'warning' |
'error' |
Default:
'warning' |
Recommended Settings
Application | Setting |
---|---|
Debugging | Use the default setting of
warning . |
Traceability | Use the default setting of
warning . |
Efficiency | Use the default setting of
warning . |
Safety precaution | Use the default setting of
warning . |
Related Topics
- Maximum identifier length (Simulink Coder)
- Model Configuration Parameters: Diagnostics
- Specify Identifier Length to Avoid Naming Collisions (Simulink Coder)
- Set Configuration Parameters for Code Generation of Model Hierarchies (Simulink Coder)