connect
Create architecture model connections
Syntax
Description
connects the unconnected output ports of the source component
connectors
= connect(srcComponent
,destComponent
)srcComponent
to the unconnected input ports of the destination
component destComponent
based on matching port names, and returns a
handle to the connector. For physical connections, the connectors are nondirectional so the
source and destination components can be interchanged.
To remove a connector, use the destroy
function.
connects arrays of components in the architecture.connectors
= connect(architecture
,[srcComponent
,srcComponent
,...],[destComponent
,destComponent
,...])
connects a parent architecture input port to a destination child component.connectors
= connect(architecture
,[],destComponent
)
connects a source child component to a parent architecture output port.connectors
= connect(architecture
,srcComponent
,[])
connects a source port and a destination port, or connects two nondirectional physical
ports.connectors
= connect(srcPort
,destPort
)
connects two ports and applies a stereotype to the connector.connectors
= connect(srcPort
,destPort
,stereotype
)
specifies options using one or more name-value arguments in addition to the input arguments
in previous syntaxes.connectors
= connect(___,Name,Value
)