Physical Modeling connector port for subsystem
The Connection Port block transfers both the conserving and the physical signal connections to the outside boundary of a subsystem block. This transfer is similar to the Inport and Outport blocks in Simulink® models. 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 ports on the subsystem boundary change their appearance depending on the type of port to which the Connection Port block is connected inside the subsystem.
|Connection Port Block Inside a Subsystem Connects to ...||... and Appears on the Outside Boundary of the Subsystem as ...|
|A Conserving port||A square Conserving port|
|A Physical Signal inport or outport||A triangular Physical Signal inport or outport|
|A two-way connector port of the Two-Way Connection block||A two-way connector port|
|A SimMechanics™ connector port, either:||A SimMechanics connector port, either:|
|Round connector port||Round connector port|
|Body coordinate system port||Body coordinate system 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 boundary.
A subsystem is in its fundamental orientation when its Simulink signal inports occur on its left side and its Simulink signal outports occur on its right side.
When a subsystem is oriented in this way, the actual port location on the subsystem boundary 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 boundary 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 on the boundary of a single subsystem requires
a unique number as a label. The default value for the first port is
Choose here which side of the parent subsystem boundary the
port is located. The choices are
The default choice is
See Port Location and Orientation on Subsystem Boundary preceding.
In the Simulink documentation, see Create a Subsystem.