Saving Simulink model state but changing input signal at next call

1 view (last 30 days)
Hello,
I would like to process months of audio as an input to Simulink. Because it is not feasible to store the whole input signal in memory , using a Matlab script, I am cutting the audio in 1 hour chunks , call Simulink to process the first chunk, save the final model state, load the next chunk of audio and the state from the last call, process the second chunk etc.. The problem is when I load some new audio at the second model call (using the 'From Workspace' block), Simulink thinks the model has changed because of the new audio and I get this error:
"Simulink cannot load the initial SimState because the model, 'Test_model', was changed after the SimState was saved. Run the simulation again and resave the SimState."
Is there a way to get around this issue so that Simulink does not see a model change between calls ? I think it does a checksum to check that.
Thank you
G

Answers (0)

Community Treasure Hunt

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

Start Hunting!