addComponent
Add component to AUTOSAR architecture model
Syntax
Description
adds one or more application components specified in components
= addComponent(archModelOrComposition
,compNames
)compNames
to
architecture model or composition archModelOrComposition
.
specified option using one or more name-value arguments in addition to the input arguments
in the previous syntax. For examples, to specify a sensor actuator component type, set
components
= addComponent(archModelOrComposition
,compNames
,Name=Value
)Kind
to SensorActuator
.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2020aSee Also
Classic Component | Adaptive Component | addComposition
| addPort
| connect
| destroy
| importFromARXML
| layout
Topics
- Configure AUTOSAR Port Parameters for Communication with Parameter Software Component
- Configure AUTOSAR Architecture Model Programmatically
- Add and Connect AUTOSAR Classic Components and Compositions
- Add and Connect AUTOSAR Adaptive Components and Compositions
- Author AUTOSAR Compositions and Components in Architecture Model