File Exchange Pick of the Week

Our best user submissions

Line – Goto From Tool

Sean‘s pick this week is Line – Goto From Tool by McSCert.

While reading Guy’s post about the new signal highlighting capabilities in R2017b, I was reminded of this nice utility.

If you would like to declutter your model, this tool can help. Here is a simple model with five lines going between two subsystems.

After following the installation instructions in the provided pdf to add the utility to the path before starting Simulink,
it’s as simple as selecting a line and right-clicking:

It will prompt for a signal name which you can provide and then create the goto-from tags.

If you’d like to use buses instead of using from/gotos, you could use another new feature in Simulink to take the five lines and convert them into a bus.

Simply highlight the lines and hit the ellipsis that pops up:

And select “Create Bus”

Comments

Give it a try and let us know what you think here or leave a comment for McSCert.

Published with MATLAB® R2017b

|
  • print

댓글

댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.