Unable to load initial operating point after modifying blockparameters.
19 views (last 30 days)
Show older comments
Hi,
I need to run a large simulink model under varying operating conditions (resistances between nodes). I have been trying to save the operating state, changing block parameters (struct which has the resistance values), load the saved as initial state and continue. But I get the error:
'Simulink cannot load the initial operating point because the model, 'mymodel', was changed after the operating point was saved. Run the simulation again and resave the operating point.'
I understood that unless datatype, dimensions or connections change, this should not happen, but that is not the case here. I also disabled the block parameter changes, and then the model runs fine.
If this is impossible how can this be achieved? (i.e. block parameters defined via strcuts in the workplace needs to change at a particular time).
2 Comments
Yifeng Tang
on 28 Jan 2025
Is it possible to share a simple model to reproduce this issue? With some instructions on the steps probably.
My impression is that the Simscape operating point should be more flexible than that.
Answers (1)
See Also
Categories
Find more on Run-Time Parameters 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!