| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
| On this page… |
|---|
You can highlight a signal and its source or destination block(s), then remove the highlighting once it has served its purpose. Signal highlighting crosses subsystem boundaries, allowing you to trace a signal across multiple subsystem levels. Highlighting does not cross the boundary into or out of a referenced model. If a signal is composite, all source or destination blocks are highlighted. (See Using Composite Signals.)
To display the source block(s) of a signal, choose the Highlight to Source option from the context menu for the signal. This option highlights:
All branches of the signal anywhere in the model
All virtual blocks through which the signal passes
The nonvirtual block(s) that write the value of the signal

To display the destination blocks of a signal, choose the Highlight to Destination option from the context menu for the signal. This option highlights:
All branches of the signal anywhere in the model
All virtual blocks through which the signal passes
The nonvirtual block(s) that read the value of the signal
The signal and destination block for all blocks that are duplicates of the inport block for the line that you select
In this example, the selected signal highlights the Gain block as the destination block.

In the next example, selecting the signal from In2 and choosing the Highlight to Destination option highlights the signal and destination block for In2 and In1, because In1 and In2 are duplicate inport blocks.

To remove all highlighting, choose Remove Highlighting from the model's context menu, or choose View > Remove Highlighting.
If the path from a source block or to a destination block includes an unresolved reference to a library block, the highlighting options highlight the path from or to the library block, respectively. To display the complete path, first update the diagram (for example, by pressing Ctrl+D). The update of the diagram resolves all library references and displays the complete path to a destination block or from a source block.
![]() | Validating Signal Connections | Determining Output Signal Dimensions | ![]() |

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 |