How to display Subsystem Input Port Number in Simulink

11 views (last 30 days)
Hi everyone,
In Simulink, is it possible to temporary display the port number of a subsystem? Something like this :SubNumer.jpg
This could be very useful when you have a subsytem with many inputs and you want to track the port number associated.
Thanks!
  1 Comment
Ankit
Ankit on 2 Oct 2019
SignalX,SignalY and SignalZ are always in asceding order (1,2,3,4...) and you can always track signals using highlight to source and highlight to destination using right click on the signal.

Sign in to comment.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 2 Oct 2019
This might be close. Right click the Subsystem block, click "Signals & Ports"
  2 Comments
Keven Viens-Messier
Keven Viens-Messier on 2 Oct 2019
Edited: Keven Viens-Messier on 2 Oct 2019
Yes I know about this menu but I'm looking for something faster where I could hover my mouse over an input and it would display the number.
Fangjun Jiang
Fangjun Jiang on 2 Oct 2019
If really needed, you could write a script to auto generate the "Icon drawing commands" consist of "port_lable()" to mask the subsystem block.

Sign in to comment.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!