![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/388468/image.jpeg)
Programmatically activate "Show Value Label of Selected Port"
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Oliver Mönnich
am 3 Aug. 2020
Beantwortet: Urmila Rajpurohith
am 22 Okt. 2020
Hello,
for quick debugging of Simulink models, I find the feature "Show Value Label of Selected Port" very useful. It can be activated by using the context menu when right-clicking on a signal line.
My Question: Is there also a way to activate this option programmatically? Is there a matlab command for showing all value labels in a simulink model?
0 Kommentare
Akzeptierte Antwort
Urmila Rajpurohith
am 22 Okt. 2020
Hi
Port Value Display cannot be used programmatically as mentioned in the "Command Line Interface" section in the below documentaion page:
By default, Simulink displays the value of a signal when you click it during simulation. You can control this behavior. On the Debug tab, select
> Options, then in the Value Label Display Options dialog box, select Enable by default during simulation.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/388468/image.jpeg)
Hope this helps!
0 Kommentare
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!