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 帐户或创建一个新帐户。