Main Content

systemcomposer.arch.PhysicalConnector

Connector between physical ports

Description

A PhysicalConnector object represents a connector between physical ports for a System Composer™ model. This class inherits from systemcomposer.arch.BaseConnector. This class is derived from systemcomposer.arch.Element.

Creation

Create physical connectors.

physConns = connect(architecture,physPortsA,physPortsB)

Properties

expand all

Name of connector, specified as a character vector.

Example: 'newConnector'

Data Types: char

Architecture that owns connector, specified as a systemcomposer.arch.Architecture object.

Ports of connection, specified as an array of systemcomposer.arch.ArchitecturePort or systemcomposer.arch.ComponentPort objects.

Universal unique identifier for model connector, specified as a character vector.

Example: '91d5de2c-b14c-4c76-a5d6-5dd0037c52df'

Data Types: char

Unique external identifier, specified as a character vector. The external ID is preserved over the lifespan of the model connector and through all operations that preserve the UUID.

Data Types: char

Parent System Composer model of connector, specified as a systemcomposer.arch.Model object.

Simulink® handle of connector, specified as a double. This property is necessary for several Simulink related work flows and for using Simulink Requirements™ APIs.

Example: handle = get(object,'SimulinkHandle')

Data Types: double

Simulink handle to parent System Composer model of connector, specified as a double. This property is necessary for several Simulink related work flows and for using Simulink Requirements APIs.

Example: handle = get(object,'SimulinkModelHandle')

Data Types: double

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
getPropertyValueGet value of architecture property
getEvaluatedPropertyValueGet evaluated value of property from component
getStereotypePropertiesGet stereotype property names on element
getSourceElementGets data elements selected on source port for connection
getDestinationElementGets data elements selected on destination port for connection
hasStereotypeFind if element has stereotype applied
hasPropertyFind if element has property
getQualifiedNameGet model element qualified name
destroyRemove model element

More About

expand all

Introduced in R2021b