# Add Cross-Hierarchy Signal

This action connects a selected block or signal with an inport of another block in the same model. If source block/signal and target inport are not in the same subsystem, the action creates all subsystem inports, outports, and lines that are necessary to cross the subsystem hierarchy.

You can use the action demo model as part of the MoRe demo model to try out the action and learn how to use it.

Example:

Usage:

For the source of a new signal, select a block that has only one open outport or select a signal line. Then select the action. In the Block Path panel you can define the target block of the signal. Either enter the block path directly or select the block in the Simulink® editor and click Get Selected Block. In the Port panel, you can define the target port of the signal. Select either free inports or Create new to create a new target inport (only available if target block is a subsystem). In the Name of Created Ports panel, you can define the name of the ports created by the action.