Time based output at simulink

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

Antworten (2)

Abdolkarim Mohammadi
Abdolkarim Mohammadi am 17 Jul. 2020
Bearbeitet: Abdolkarim Mohammadi am 17 Jul. 2020

0 Stimmen

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 Kommentar

Nozhan Ghoreishi
Nozhan Ghoreishi am 17 Jul. 2020
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

Melden Sie sich an, um zu kommentieren.

Abdolkarim Mohammadi
Abdolkarim Mohammadi am 17 Jul. 2020

0 Stimmen

You can simply connect it to the next block :)

Kategorien

Mehr zu Modeling finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by