This seems be the answer: https://es.mathworks.com/help/simulink/ug/saving-and-restoring-the-simulation-state-as-the-simstate.html
Is it possible continue a simulation from one point intermediate?
2 views (last 30 days)
Show older comments
Tony Castillo
on 2 May 2018
Answered: lokender Rawat
on 8 May 2018
Hello dear Ms,I want to ask you the following question, is it possible continue a simulation from one point intermediate?. Let me explain my issue, in my case my PC turned off when my simulation was running near to 60 %, but my prior intention was finish it, it is supposed that I need it get the end at 100 %, is there a way to re-runn continue that the simulation in order to complete it?. I mean, I'd like to re-run for completing the 40 % that left. My motivation to do the above menctioned, is because my simulation takes more than one week to be done. It lasts too much time for finish the experiments. Do anyone knows how to do it in simulink simpowersystem? Sincerely,
Accepted Answer
lokender Rawat
on 8 May 2018
Yes, you can refer the below link to find how to go about that:
But kindly read the "Restore SimState" and "Limitations of SimState" section of the document link carefully. You will have to figure it out on your end as what parameters/initial conditions/final output values etc. you want to store in 'simstate' variable. You can then load these variables and start the next simulation cycle as desired.
0 Comments
More Answers (0)
See Also
Categories
Find more on Simscape Electrical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!