Checkpoint to save the state of Simulink simulation at a specific sample time

2 views (last 30 days)
Hi,
I'm working on a simulink design which is meant to work with a 108MHz (9.26ns) sample time. I need to simulate a long time (~2 seconds) which translates to 2 x 108e6 sample times and most of this time is spent for a initialization sequence.
I want to run 80% of the simulation once and save the state of the system as a checkpoint so that the next times I run the simulation it starts at that simulation time (80% of the full simulation time length) by loading the state of the system from the checkpoint I created earlier.
I don't think this is possible right now but if it is please tell. But anyways this could be a really helpful feature to add.
Thanks

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 25 Feb 2023

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!