This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Two-Way Connection

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 .

    Note   Two-Way Connection blocks cannot be connected across nonvirtual subsystems.


The block has a Simulink input port, a Simulink output port, and a two-way connector port.

Introduced in R2007a

Was this topic helpful?