Main Content

Insufficient maximum identifier length

Description

For referenced models, specify diagnostic action when the configuration parameterMaximum identifier lengthdoes 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 parameterMaximum identifier lengthdoes 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 parameterMaximum identifier lengthin the generated code.

error

The code generator displays an error message when the configuration parameterMaximum identifier lengthdoes not provide enough character length to make global identifiers unique across models.

none

The code generator does not display a message when the configuration parameterMaximum identifier lengthdoes 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 parameterMaximum identifier lengthin the generated code.

Command-Line Information

Parameter:ModelReferenceSymbolNameMessage
Type:特征向量
Value:'none'|'warning'|'error'
Default:'warning'

Recommended Settings

Application Setting
Debugging Use the default setting ofwarning.
Traceability Use the default setting ofwarning.
Efficiency Use the default setting ofwarning.
Safety precaution Use the default setting ofwarning.

Related Topics