Physical Modeling connector port for subsystem
The Connection Port block transfers a physical connection or signal across subsystem boundaries. Physical connections include Simscape™ conserving and physical signal connections, Simscape Multibody™ connections, and Vehicle Dynamics Blockset™ two-way connection ports, among others. This block is similar in function to the Inport and Outport blocks in the Simulink® library.
A subsystem needs a Connection Port block for each physical connection line that crosses its boundary. You can manually place a Connection Port block inside a subsystem, or Simulink can automatically insert a Connection Port block when you create a subsystem within an existing network.
The Connection Port block adds a port to the parent Subsystem block. The port type depends on the connection or signal it transfers. The port appearance on the Subsystem block matches the port to which the Connection Port block connects inside the subsystem. For example, if the port transfers a Simscape conserving connection, then it appears on the Subsystem block as a Simscape Conserving port.
The orientation of the parent subsystem block and your choice of port location determine the Connection Port block port location on the parent subsystem block.
A subsystem is in its fundamental orientation when its Simulink signal inports appear on its left side and its Simulink signal outports appear on its right side.
When a subsystem is oriented in this way, the actual port location on the subsystem block respects your choice of port location (left or right) for the connector port.
A subsystem orientation is reversed, with left and right interchanged, when its Simulink signal inports occur on its right side and its Simulink signal outports occur on its left side.
When a subsystem is oriented in this way, the actual port location on the subsystem block reverses your choice of port location. If you choose left, the port appears on the right side. If you choose right, the port appears on the left side.
Labels the subsystem connector port that this block creates.
Each connector port requires a unique number as a label. The default
value for the first port is
Choose here which side of the parent subsystem block the port
is located. The choices are
The default choice is
See Port Location and Orientation on Subsystem Block preceding.
In the Simulink documentation, see Create a Subsystem (Simulink).