arxml.importer
Import 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.
For a list of schema versions supported for ARXML import and export, see Select AUTOSAR Classic Schema or 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
createCompositionAsModel
.
Input Arguments
Object Functions
createComponentAsModel | Create Simulink representation of AUTOSAR ARXML atomic software component |
createCompositionAsModel | Create Simulink representation of AUTOSAR ARXML software composition |
getComponentNames | Get AUTOSAR software component names from ARXML files |
updateAUTOSARProperties | Update model with ARXML definitions from AUTOSAR element packages |
updateModel | Update AUTOSAR model or architecture with ARXML changes |
Examples
Version History
Introduced in R2008a
See Also
Topics
- Import AUTOSAR XML Descriptions Into Simulink
- Import AUTOSAR Component to Simulink
- Import AUTOSAR Composition to Simulink
- Update AUTOSAR Software Component
- Import and Reference Shared AUTOSAR Element Definitions
- Import AUTOSAR Package into Component Model
- Import AUTOSAR Adaptive Software Descriptions
- Import AUTOSAR Adaptive Components to Simulink
- Import AUTOSAR Package into Adaptive Component Model
- AUTOSAR ARXML Importer
- Round-Trip Preservation of AUTOSAR XML File Structure and Element Information