How can I display the last value obtained in a scope block graph in Simulink?

조회 수: 31(최근 30일)
Connie Dubh
Connie Dubh 2020년 9월 22일
답변: Anil Chowdary Tummala 2021년 2월 18일
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?

채택된 답변

Abdolkarim Mohammadi
Abdolkarim Mohammadi 2020년 9월 23일
편집: Abdolkarim Mohammadi 2020년 9월 23일
The Display block shows the numeric output.

추가 답변(2개)

Fangjun Jiang
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.

Anil Chowdary Tummala
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

Community Treasure Hunt

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

Start Hunting!

Translated by