Create or update mapped AUTOSAR component model
autosar.api.create(
creates or updates mapped AUTOSAR software component model
model
)model
. The default function behavior depends on the mapping
state of the model.
If the model is not mapped to an AUTOSAR software component, the function
creates a Simulink® to AUTOSAR mapping in default
mode. In this
mapping, Simulink inports and outports are mapped to AUTOSAR ports with default
AUTOSAR properties.
If the model is already mapped to an AUTOSAR software component, the
function updates the existing mapping in incremental
mode. The function finds and maps unmapped model elements, and updates the
AUTOSAR Dictionary for deleted model elements.
autosar.api.create(
specifies additional options for mapping with one or more
model
,mode
,Name,Value
)Name,Value
pair arguments.