Using simulink SimState with different look up table data

3 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

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

Más respuestas (1)

Mark McBroom
Mark McBroom el 7 de Abr. de 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.

Categorías

Más información sobre Simulink Environment Customization en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by