updateAUTOSARProperties
Update model with ARXML definitions from AUTOSAR element packages
Description
updateAUTOSARProperties(
updates the specified open model with AUTOSAR element definitions from packages in the XML
files associated with ar
,modelname
)arxml.importer
object ar
. The update generates a report that details the AUTOSAR
elements added to the model. For updateAUTOSARProperties
, the
associated XML definition files are not required to contain the AUTOSAR software component
mapped by the model. (Compare with updateModel
,
which requires the component.)
By default, the function imports AUTOSAR elements as read-only definitions, which
prevents changes. To allow imported elements to be modified, set the
ReadOnly
property to false
.
For each imported AUTOSAR element, the function also imports the element dependencies.
For example, importing CompuMethod elements also imports Unit and
PhysicalDimension
elements.
If you import AUTOSAR numeric or enumeration data types, you can use the createNumericType
and createEnumeration
functions to create corresponding Simulink® data type objects.
updateAUTOSARProperties(
updates the specified open model with AUTOSAR elements by using a
ar
,modelname
,Name,Value
)Name,Value
argument pair to specify a specific element category,
package, or path.