arxml.importer
R2026bImport AUTOSAR XML descriptions of software components, compositions, or packages
Description
Use arxml.importer functions to import AUTOSAR software
components, compositions, or packages of shared elements from ARXML files into
Simulink®. For example, you can parse an AUTOSAR software component description XML
file exported by an AUTOSAR authoring tool, and then import the component into a
Simulink model. After importing the component, you can use the Simulink representation of the component for further configuration, algorithm
development, C/C++ code generation, and ARXML export. You can use the importFromARXML to import components and compositions directly to
software architectures from ARXML descriptions.
For a list of schema versions supported for ARXML import and export, see Select AUTOSAR Classic Schema and Select AUTOSAR Adaptive Schema.
Creation
Description
creates object ar = arxml.importer(filename)ar, which represents the AUTOSAR information
in XML file filename.
creates object ar = arxml.importer({filename1,filename2,...,filenameN})ar, which represents the AUTOSAR information
in the specified XML files.
Tip
If you enter the arxml.importer function call without a
terminating semicolon (;), the importer lists the AUTOSAR content of the
specified XML file or files. The information includes paths to software
components in the AUTOSAR package structure, which you can specify in calls to
createComponentAsModel and
importFromARXML.
Input Arguments
Object Functions
createComponentAsModel | Create Simulink representation of AUTOSAR ARXML atomic software component |
getComponentNames | Get AUTOSAR software component names from ARXML files |
updateArchitecturalData | Update Architectural Data section from ARXML definitions |
updateAUTOSARProperties | Update model with ARXML definitions from AUTOSAR element packages |
updateModel | Update AUTOSAR model or architecture with ARXML changes |
createCompositionAsModel | Create Simulink representation of AUTOSAR ARXML software composition |
Examples
Version History
Introduced in R2008a
See Also
Topics
- Import AUTOSAR XML Descriptions Into Simulink
- Import AUTOSAR Component to Simulink
- Import AUTOSAR Classic Composition from ARXML to Architecture
- Import AUTOSAR Composition to Simulink
- Update AUTOSAR Software Component
- Import AUTOSAR Data Types and Shared Elements to Simulink
- Import AUTOSAR Package into Component Model
- Import AUTOSAR Adaptive Software Descriptions
- AUTOSAR ARXML Importer
- Round-Trip Preservation of AUTOSAR XML File Structure and Element Information