Main Content

systemcomposer.arch.Connector

Class that represents connector between ports

Description

The connector class represents a connector between ports. This class is derived from systemcomposer.arch.Element. This class inherits from systemcomposer.base.BaseElement and implements the interface systemcomposer.base.BaseConnector.

Creation

Create a connector.

connector = connect(architecture,outports,inports)

Properties

expand all

Handle to parent architecture that owns connector, returned as a systemcomposer.arch.Architecture object.

Name of connector, returned as a character vector.

Data Types: char

Source of connection as an output port, returned as a systemcomposer.arch.ArchitecturePort or systemcomposer.arch.ComponentPort object.

Destination of connection as an input port, returned as a systemcomposer.arch.ArchitecturePort or systemcomposer.arch.ComponentPort object.

Object Functions

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
getSourceElementGets signal elements selected on source port for connection
getDestinationElementGets signal elements selected on destination port for connection
Introduced in R2019a