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

1 Ansicht (letzte 30 Tage)
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

Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 25 Feb. 2023

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by