主要内容

ARXML and Code Generation

R2026b
Export ARXML descriptions and generate component code (requires Embedded Coder®)

Export composition and component AUTOSAR XML (ARXML) descriptions and generate component code (requires Embedded Coder). You can export an entire architecture model, a nested composition, or a single component. If you initiate an export that includes a composition, the export includes XML descriptions of the composition, component prototypes, and composition ports and connectors. When you export ARXML you can create a ZIP file to package build artifacts from the model hierarchy for relocation and integration.

You can export an ECU configuration from an AUTOSAR architecture model as an extract that maps the software components in a composition to an AUTOSAR ECU. You can export composition ARXML descriptions and generate ASAP2 (.a2l) files.

Functions

validateValidate AUTOSAR properties and mappings for Software Composition block or AUTOSAR architecture model (Since R2023b)
slbuildGenerate and compile standalone or model reference code from model
exportExport ARXML, ASAP2 files from AUTOSAR Blockset architecture models, and generate component code
exportDictionaryExport interface, data type, and platform-specific definitions from Architectural Data section of data dictionary (Since R2022b)
saveSave AUTOSAR architecture model
closeClose AUTOSAR architecture model
destroyRemove and delete AUTOSAR architecture element

Topics

Featured Examples