Simulink cannot load the initial SimState
Show older comments
Hi everybody,
I've got a problem using SimState. My aim is to run a simulation stepwise to be able to run various simulations for the next timestep with different parameters.
My problem is, that Simulink just throws the error "Simulink cannot load the initial SimState because the model, ''model_name', was changed after the SimState was saved. Run the simulation again and resave the SimState."
I already compared the checksum between two simulations regarding (<http://de.mathworks.com/help/simulink/slref/simulink.blockdiagram.getchecksum.html>, and the "slAccelDemoWhyRebuild"-example).
Seems that there are no differences in the checksum and also the models aren't rebuilt each restart of the simulation. I'm using Matlab R2014a, fixedStepDiscrete-Solver and the "normal"-running mode. Do you have an idea how to solve this issue?
Thanks a lot! Felix
Accepted Answer
More Answers (1)
Tian Zhang
on 12 Apr 2018
0 votes
Have you sloved this problem?I have this problem too in my model
Categories
Find more on Simulink 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!