Guy on Simulink

Simulink & Model-Based Design

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

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.

|
  • print

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.