Two-way connector port for subsystem
The Two-Way Connection block has a two-way connector port, which transports Simulink® signals both ways. You connect this port to another two-way connector port. The schematic below illustrates how the two-way connection works. It carries the signal Signal1 from the input port of the first Two-Way Connection block to the output port of the second Two-Way Connection block, and at the same time carries the signal Signal2 from the input port of the second Two-Way Connection block to the output port of the first Two-Way Connection block.
The Two-Way Connection block supports invariant model architecture for top-down or bottom-up design. It lets you build subsystems as Simulink models, based on signals, and then connect them as if they are physical systems. Place the Two-Way Connection blocks inside the subsystem and connect them to the Connection Port blocks. Then the ports on the subsystem boundary appear as two-way connector ports .