Time based output at simulink

Is there anyway for extracting the last value of a block( corresponding to the end of simulation) in simulink?

Risposte (2)

Abdolkarim Mohammadi
Abdolkarim Mohammadi il 17 Lug 2020
Modificato: Abdolkarim Mohammadi il 17 Lug 2020

0 voti

You can use "Display" block to view the last value or "To Workspace" block and set it to return the last value to the base workspace.

1 Commento

yes, Thank you abdolkarim but the value is updated as the simulation goes on
and I want to use this value as onther block's input

Accedi per commentare.

Abdolkarim Mohammadi
Abdolkarim Mohammadi il 17 Lug 2020

0 voti

You can simply connect it to the next block :)

Categorie

Scopri di più su Modeling in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by