Main Content

Maximum SHORT-NAME length

Maximum length for SHORT-NAME elements generated in XML files

Model Configuration Pane: Code Generation > AUTOSAR Code Generation Options

Description

Set maximum length for SHORT-NAME XML elements for the AUTOSAR Classic Platform

Settings

128 (default) | integer

The AUTOSAR standard specifies that the maximum length of SHORT-NAME XML elements is 128 characters. To configure a maximum length for SHORT-NAME elements exported by the code generator, specify an integer value between 32 and 128, inclusive.

Tips

All models in a model hierarchy must specify the same value for this parameter.

Recommended Settings

ApplicationSetting
DebuggingNo Impact
TraceabilityNo Impact
EfficiencyNo Impact
Safety precautionNo Impact

Programmatic Use

Parameter: AutosarMaxShortNameLength
Type: integer
Value: integer value between 32 and 128, inclusive
Default: 128

Version History

Introduced in R2011a