How to display Subsystem Input Port Number in Simulink
11 views (last 30 days)
Show older comments
Hi everyone,
In Simulink, is it possible to temporary display the port number of a subsystem? Something like this :
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
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.
Answers (1)
Fangjun Jiang
on 2 Oct 2019
This might be close. Right click the Subsystem block, click "Signals & Ports"
2 Comments
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.
See Also
Categories
Find more on Subsystems in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!