systemcomposer.arch.ArchitecturePort

Represent input and output ports of architecture

Description

This class inherits from systemcomposer.arch.BasePort.

Creation

port = addPort(archObj,'in')

The addPort method is the constructor for the systemcomposer.arch.ArchitecturePort class.

Properties

expand all

Name of port, returned as a character vector.

Data Types: char

Port direction, returned as a character array with values 'Input' and 'Output'.

Data Types: char

Name of interface associated with port, returned as a character vector.

Data Types: char

Interface associated with port, returned as a systemcomposer.interface.SignalInterface object.

Port connectors, returned as a systemcomposer.arch.Connector object.

Whether port has connections, returned as a logical or numeric value 1 (true) or 0 (false).

Data Types: logical

Architecture that owns port, returned as a systemcomposer.arch.Architecture object.

Object Functions

connectCreate architecture model connections
setNameSet name for port
setInterfaceSet interface for port
createAnonymousInterfaceCreate and set anonymous interface for port
applyStereotypeApply stereotype to architecture model element
getStereotypesGet stereotypes applied on element of architecture model
removeStereotypeRemove stereotype from model element
setPropertySet property value corresponding to stereotype applied to element
getPropertyGet property value corresponding to stereotype applied to element
destroyRemove and destroy model element
getEvaluatedPropertyValueGet evaluated value of property from component
Introduced in R2019a