Add component to AUTOSAR architecture model
adds one or more components specified in the components
= addComponent(archCM
,compNames
)compNames
argument to
composition or architecture model archCM
. The
archCM
argument is a composition or architecture model handle
returned by a previous call to addComposition
,
autosar.arch.createModel
, or
autosar.arch.loadModel
. The components
output
argument returns one or more component handles, which are
autosar.arch.Component
objects.
allows you to specify the component type for all added components. Valid component types are
components
= addComponent(archCM
,compNames
,'Kind',value
)Application
(the default), SensorAccuator
,
ComplexDeviceDriver
, EcuAbstraction
, and
ServiceProxy
.
addComposition
| addPort
| connect
| destroy
| importFromARXML
| layout
| Software Component