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

30 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

Abdolkarim Mohammadi
Abdolkarim Mohammadi el 23 de Sept. de 2020
Editada: Abdolkarim Mohammadi el 23 de Sept. de 2020
The Display block shows the numeric output.

Más respuestas (2)

Fangjun Jiang
Fangjun Jiang el 22 de Sept. de 2020
Editada: Fangjun Jiang el 24 de Sept. de 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.

Anil Chowdary Tummala
Anil Chowdary Tummala el 18 de Feb. de 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

Categorías

Más información sobre Discrete-Event Simulation en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by