How to display Subsystem Input Port Number in Simulink

11 visualizzazioni (ultimi 30 giorni)
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 Commento
Ankit
Ankit il 2 Ott 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.

Accedi per commentare.

Risposte (1)

Fangjun Jiang
Fangjun Jiang il 2 Ott 2019
This might be close. Right click the Subsystem block, click "Signals & Ports"
  2 Commenti
Keven Viens-Messier
Keven Viens-Messier il 2 Ott 2019
Modificato: Keven Viens-Messier il 2 Ott 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 il 2 Ott 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.

Accedi per commentare.

Categorie

Scopri di più su Subsystems in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by