Insufficient maximum identifier length
Diagnostic action to take when maximum identifier length is too short to ensure unique global identifiers
Model Configuration Pane: Diagnostics
Description
The Insufficient maximum identifier length configuration parameter specifies the diagnostic action to take when the Maximum identifier length (Simulink Coder) configuration parameter provides too few characters to ensure unique global identifiers across models in a model reference hierarchy.
Settings
warning
(default) | error
| none
warning
The software issues a warning and truncates the identifiers in the generated code. The truncated identifiers fit within the maximum length specified by Maximum identifier length.
error
The software issues an error.
none
The software does not issue a diagnostic and truncates the identifiers in the generated code. The truncated identifiers fit within the maximum length specified by Maximum identifier length.
Recommended Settings
Application | Setting |
---|---|
Debugging | warning |
Traceability | warning |
Efficiency | warning |
Safety precaution | warning |
Programmatic Use
Parameter:
ModelReferenceSymbolNameMessage |
Type: string | character vector |
Values:
'none' | 'warning' |
'error' |
Default:
'warning' |
Version History
Introduced in R2006b
See Also
Maximum identifier length (Simulink Coder)