Virtual connection between conserving ports
Simscape / Utilities
The Connection Label block lets you specify virtual connections between conserving ports, similar to the Goto and From blocks in Simulink® diagrams. Physical connection lines are nondirectional, which means that all sides of the virtual connection use the same type of block.
Virtual connectivity is established by the label name. If two or more Connection Label blocks in a model subsystem have the same label, then the conserving ports of other blocks connected to them behave as though they were physically connected. Virtual connections cannot cross subsystem boundaries.
The label name is displayed next to the block icon on the model canvas. You specify the label name by using the Label parameter.
Use the Connection Label block to reduce diagram clutter by breaking off tangled connection lines.
Port_1— Connection port
Conserving connection port. By default, this port is untyped.
You define the type of the port by connecting it to a conserving port of another block in the subsystem, or to a Simscape Bus port. Once you establish a connection, other Connection Label blocks that are in the same subsystem and have the same label can be connected only to the same type of port.
Label— Name of connection label
Label1(default) | character vector | string
Label name, which establishes the virtual connection. If two or more Connection Label blocks in the same subsystem of a model have the same label, then the conserving ports of the blocks connected to them behave as though they were physically connected.
The value of this parameter appears as a label next to the block icon on the model canvas.