![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/388468/image.jpeg)
Programmatically activate "Show Value Label of Selected Port"
7 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Urmila Rajpurohith
2020-10-22
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Environment Customization 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!