| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simscape |
| Contents | Index |
| Learn more about Simscape |
Utilities
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
.

The block has no parameters.
The block has a Simulink input port, a Simulink output port, and a two-way connector port.
In the Using Simulink documentation, see Working with Block Masks.
![]() | Translational Spring | Variable Area Hydraulic Orifice | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |