Guy on Simulink

Simulink & Model-Based Design

This is machine translation

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

Highlight To Source and Destination: A new way to navigate your model 3

Posted by Guy Rouleau,

In the United States, Thanksgiving weekend is probably the weekend where the roads are the busiest. For those of you who got stuck in traffic to visit family and friends this past weekend, I thought I should share one of my favorite new feature in R2017b: The enhanced highlighting to source and destination.

Thanks to this new feature, you can now navigate through the signal lines in a Simulink model like if you were the only car on a highway. And you know the best: There is no traffic and no speed limits!

Navigating through a Simulink model, with the Arrow Keys

In R2017b, click on any Simulink signal to see the options to highlight to source or destination. Click on one of those, and Simulink will turn into what I call "Navigation Mode". From there, you can use the keyboard arrow keys to control the highlighting. With the left and right keys, you can navigate to the upstream or downstream block:

Highlight Sources and desitnations

When multiple sources or destinations are available, use the up and down keys to toggle between the possible sources and destinations:

toggle ports

As you would expect, the navigation can take you inside and outside of subsystems and referenced models:

navigate subsystems

Now it's your turn

This feature saved me a lot of time while debugging models in the last few months. Give it a try and let us know what you think in the comments below.

3 CommentsOldest to Newest

@Kev: I should have made animations for those too. The feature behaves similarly for buses and GoTo/From. For buses, it enters the bus and moving forward brings you to the destination where the original signal is consumed. If multiple destinations, you can toggle like in the second animation above. Same for GoTo/From.

Alex replied on : 3 of 3

The functionality has really much improved when working with buses. I submitted an enhancement request regarding this issue last year and I am happy to see the improvement. In 2016b, all Bus Selectors lit up regardless of whether the traced signal was selected or not. Now, only the bus paths, where the traced signals are selected, show up.

Add A Comment

Your email address will not be published. Required fields are marked *

Preview: hide