Import AUTOSAR component XML
Use arxml.importer
functions to import AUTOSAR components
into Simulink® in a controlled manner. 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, use the Simulink representation of the component for further configuration, algorithm
development, C/C++ code generation, and ARXML export.
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
.
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 of AUTOSAR elements |
updateModel | Update AUTOSAR model with ARXML changes |