Main Content

Generate XML file for schema version


Select the AUTOSAR Adaptive Platform schema version to use when generating XML files

Category: Code Generation > AUTOSAR Code Generation Options


Default: R21-11 (00050)

R21-11 (00050)

Use schema release R21-11 (Version 00050)

R20-11 (00049)

Use schema release R20-11 (Version 00049)

R19-11 (00048)

Use schema release R19-11 (Version 00048)

R19-03 (00047)

Use schema release R19-03 (Version 00047)

R18-10 (00046)

Use schema release R18-10 (Version 00046)


  • Selecting the AUTOSAR adaptive target for your model for the first time sets the schema version parameter to the default value R21-11 (00050).

  • When you import ARXML code into Simulink®, the ARXML importer detects the schema version and sets the schema version parameter in the model.

  • 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' | 'R19-03' | 'R18-10'
Default: 'R21-11'

Version History

 R2022b: Command-line argument value is in AUTOSAR platform release format

Related Topics