updateReferences
Update model with ARXML definitions of AUTOSAR reference elements
For updating a model with ARXML definitions of AUTOSAR elements, R2019a introduced the
ARXML importer function updateAUTOSARProperties. Use the
updateAUTOSARProperties function instead of
updateReferences. For more information, see Import and Reference Shared AUTOSAR Element Definitions and the updateAUTOSARProperties reference page.
Description
updateReferences(
updates the specified open model with AUTOSAR reference elements in the XML files
associated with ar,modelname)arxml.importer object ar. Reference elements are
definitions of packageable AUTOSAR elements that multiple components and services
can share. The update operation generates a report that details the elements added
to the model. On a read-only basis, the model can reference the imported elements.
Model builds export the references to AUTOSAR software component ARXML files.
If you do not specify Name,Value argument pairs, the function
imports all supported reference element definitions found
in the XML files, except ApplicationDataType elements. Import of
ApplicationDataType elements must be explicitly
requested.
updateReferences(
updates the specified open model with AUTOSAR reference elements, using a
ar,modelname,Name,Value)Name,Value argument pair to specify a specific element
category, package, or path.
Examples
Input Arguments
Name-Value Arguments
Version History
Introduced in R2016b
