How can I display the last value obtained in a scope block graph in Simulink?
31 views (last 30 days)
Show older comments
Connie Dubh
on 22 Sep 2020
Answered: Anil Chowdary Tummala
on 18 Feb 2021
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 Comments
Accepted Answer
Abdolkarim Mohammadi
on 23 Sep 2020
Edited: Abdolkarim Mohammadi
on 23 Sep 2020
The Display block shows the numeric output.
0 Comments
More Answers (2)
Fangjun Jiang
on 22 Sep 2020
Edited: Fangjun Jiang
on 24 Sep 2020
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 Comments
Anil Chowdary Tummala
on 18 Feb 2021
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 Comments
See Also
Categories
Find more on Discrete-Event Simulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!