createCompositionAsModel
Create Simulink representation of AUTOSAR ARXML software composition
Syntax
Description
[
creates a Simulink® model that corresponds to the AUTOSAR atomic software composition
model
,status
] = createCompositionAsModel(ar
,CompositionName
)CompositionName
, and returns a handle to the model,
represented by model
, and a status indicating whether the
action was successful, represented by
status
.
The composition description is part of AUTOSAR information previously imported
from AUTOSAR XML (ARXML) files that are represented by the arxml.importer
object ar
. The importer creates an
initial Simulink representation of the imported AUTOSAR
composition.
The initial representation provides a starting point for further AUTOSAR
configuration and Model-Based Design. For more information, see AUTOSAR ARXML Importer.
[
specifies additional options for Simulink model creation using one or more name-value arguments. For example, to
direct the importer to model AUTOSAR periodic runnable as atomic subsystems with
periodic rates, set model
,status
] = createCompositionAsModel(ar
,CompositionName
,Name=Value
)ModelPeriodicRunnablesAs
to
"AtomicSubsystem"
.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Tips
If you enter the arxml.importer
object function call without a
terminating semicolon, the importer lists the AUTOSAR content of the specified ARXML
file or files. The information includes paths to software components in the AUTOSAR
package structure, which you can specify in calls to importFromARXML
and createComponentAsModel
.