How can I display the last value obtained in a scope block graph in Simulink?
27 次查看(过去 30 天)
显示 更早的评论
I obtained a couple of graphs from my discrete event simulation using the scope block, but I'd like to know how I can see the exact y value I obtained in the end, instead of eyeing it from the graph. How can I do that?
0 个评论
采纳的回答
Abdolkarim Mohammadi
2020-9-23
编辑:Abdolkarim Mohammadi
2020-9-23
The Display block shows the numeric output.
0 个评论
更多回答(2 个)
Fangjun Jiang
2020-9-22
编辑:Fangjun Jiang
2020-9-24
You could log the data and the last value would be data(end).
Or do it manually, on the Scope, tools, Measurements, Cursor Measurements.
Or turn on Value Displays. https://www.mathworks.com/help/releases/R2020a/simulink/ug/displaying-block-outputs.html
0 个评论
Anil Chowdary Tummala
2021-2-18
I am not aware of your project.
But if you want to see the exact y value obtained in the end
Double click on the block from which scope input is given and change the following
"Form output after final data value by" to "Holding Final Value" and connect block oputput to a "Display Block" in simulink
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete-Event Simulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!