Time based output at simulink

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

Answers (2)

Abdolkarim Mohammadi
Abdolkarim Mohammadi on 17 Jul 2020
Edited: Abdolkarim Mohammadi on 17 Jul 2020
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 Comment

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

Sign in to comment.

You can simply connect it to the next block :)

Categories

Find more on Modeling in Help Center and File Exchange

Asked:

on 17 Jul 2020

Community Treasure Hunt

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

Start Hunting!