Saving Simulink environment and data from run?

1 view (last 30 days)
I have a Simulink model that takes a couple hours to run. When the run is completed I'd like to be able to save the environment and scope data so I can recall the setup at a later time as if I had just done a re-run. Is this possible? Or do I need to export all scope data into Matlab then later run a custom matlab program to display results?

Accepted Answer

Vimal Rathod
Vimal Rathod on 26 Jul 2019
You can use Simulation Operating Point to save and restore the states and data.
Refer to the following link:
Hope this helps.
  1 Comment
Brian Tremaine
Brian Tremaine on 26 Jul 2019
Thank-you!!! This is more than I hoped for, excellent!

Sign in to comment.

More Answers (0)


Find more on Event Functions in Help Center and File Exchange





Community Treasure Hunt

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

Start Hunting!