addPort
Add port to AUTOSAR component, composition, or architecture model
Description
adds one or more ports of type ports
= addPort(archCCM
,portKind
,portNames
)portKind
to component, composition, or
architecture model archCCM
. Valid values for
portKind
are 'Receiver'
and
'Sender'
. The portNames
argument specifies the
names of one or more ports to add. The archCCM
argument is a component,
composition, or architecture model handle returned by a previous call to
addComponent
, addComposition
,
autosar.arch.createModel
, or
autosar.arch.loadModel
. The ports
output
argument returns one or more port handles, which are
autosar.arch.CompPort
or autosar.arch.ArchPort
objects.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2020a