Using simulink SimState with different look up table data

3 visualizzazioni (ultimi 30 giorni)
So my problem is that i have a simulink model with a slow start up and afterwards decent run time. I'd like to use the restart (load initial state) functionality. However when i change a lookup table I get the error that the model has changed and simulink cannot use the initial state.
The lookup table contains the data i wish to change for each loadcase. with zero values for the first 15 seconds, and im trying to restart after 10 second so the data should be the same.
Is there a workaround for this issue?
Or to rephrase, how to load simulation specific parameters into simulink whilst still being able to load an initial sim state?

Risposta accettata

Thijs van Krimpen
Thijs van Krimpen il 11 Mag 2018
Eventually i found that loading data from a file rather than the workspace does not trigger the model change check.

Più risposte (1)

Mark McBroom
Mark McBroom il 7 Apr 2018
Try using fast restart. This option disables some consistency checks performed during model initialization and may let you get around this problem. Obviously the burden is on you to ensure that the changed lookup table values don't influence the saved simstate.

Categorie

Scopri di più su Simulink Environment Customization in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by