Main Content

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

ApplicationSetting
DebuggingUse the default setting of warning.
TraceabilityUse the default setting of warning.
EfficiencyUse the default setting of warning.
Safety precautionUse the default setting of warning.

Related Topics