Generate XML file for schema version
R2026bGenerate AUTOSAR Adaptive XML files for specified schema version
Model Configuration Pane: Code Generation > AUTOSAR Code Generation Options
Starting in R2026b, schema version R19-11 (00048) is
no longer supported. Starting in R2024b, schema versions
R19-03 (00047) and R18-10 (00046) are
no longer supported.
Description
Select the AUTOSAR Adaptive Platform schema version to use when generating XML files.
Dependencies
To enable this parameter, set the SystemTargetFile
parameter to autosar_adaptive.tlc.
Settings
R22-11 (00051) | R21-11
(00050) (default) | R20-11 (00049)
R22-11 (00051)— Use schema release R22-11 (Version 00051).R21-11 (00050)— Use schema release R21-11 (Version 00050).R20-11 (00049)— Use schema release R20-11 (Version 00049).
Tips
Selecting the AUTOSAR adaptive target for your model for the first time sets the schema version parameter to the default value
R22-11 (00051).When you import ARXML descriptions into Simulink®, the ARXML importer detects the schema version and sets the schema version parameter in the model.
All models in a modeling hierarchy must specify the same schema version.
To configure other AUTOSAR options, use the AUTOSAR code perspective. From the Apps tab, open the AUTOSAR Component Designer app.
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | No Impact |
| Traceability | No Impact |
| Efficiency | No Impact |
| Safety precaution | No Impact |
Programmatic Use
Parameter: AutosarSchemaVersion |
| Type: character vector |
Value:'R22-11' |
'R21-11' | 'R20-11' |
Default:
'R22-11' |
Version History
Introduced in R2011aSee Also
Topics
- Model Configuration Parameters: Code Generation AUTOSAR
- Code Generation (AUTOSAR Blockset)