Generate XML file for schema version
Description
Select the AUTOSAR Classic Platform schema version to use when generating XML files
Category: Code Generation > AUTOSAR Code Generation Options
Settings
Default:
R21-11
R21-11
Use schema version R21-11
R20-11
Use schema version R20-11
R19-11
Use schema version R19-11
4.4
Use schema version 4.4 (revision 4.4.0)
4.3
Use schema version 4.3 (revision 4.3.1)
4.2
Use schema version 4.2 (revision 4.2.2)
4.1
Use schema version 4.1 (revision 4.1.3)
4.0
Use schema version 4.0 (revision 4.0.3)
Tips
Selecting the AUTOSAR target for your model for the first time sets the schema version parameter to the default value,
R21-11
.When you import ARXML code into Simulink®, the ARXML importer detects the schema version and sets the schema version parameter in the model. For a list of AUTOSAR schema revisions supported for ARXML import, see Select AUTOSAR Classic Schema (AUTOSAR Blockset).
Set the same value for top and referenced models.
To configure other AUTOSAR options, use the AUTOSAR code perspective. From the Apps tab, open the AUTOSAR Component Designer app.
Command-Line Information
Parameter:
AutosarSchemaVersion |
Type: character vector |
Value:
'R21-11' | 'R20-11' |
'R19-11' | '4.4' |
'4.3' | '4.2' |
'4.1' | '4.0' |
Default:
'R21-11' |
Related Topics
- Model Configuration Parameters: Code Generation AUTOSAR
- Select AUTOSAR Classic Schema (AUTOSAR Blockset)
- Code Generation (AUTOSAR Blockset)