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 generated in XML files for
the AUTOSAR Adaptive 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
Application | Setting |
---|---|
Debugging | No Impact |
Traceability | No Impact |
Efficiency | No Impact |
Safety precaution | No Impact |
Programmatic Use
Parameter: AutosarMaxShortNameLength |
Type: integer |
Value: integer value between 32 and 128, inclusive |
Default: 128 |
Version History
Introduced in R2011a