I would like to run a simulation in Simulink following the below steps:
1. Run the simulation from time 0 to 10s
2. Stop the simulation at time 10s and save all the states and operating points of the simulation at that timestep
3. Close MATLAB
4. Re-open MATLAB/Simulink and then re-run that same model starting from time 10s to 20s and starting from the operating point and states I saved at time 10s. I do not want the model to restart the simulation from time 0 and lose the final simulation state of step 1.
How can the above workflow be achieved?
Best Answer