Saving final states and setting initial values in Simulink
Show older comments
Hello
I have created a Model of an electric power system using Simscape ==> Power System.
I simulate it, then I save the final state values (In the Configuration Paramete, Data import/export) so that I use them in a next simulation as initial state values. See the picture below:

Then xFinal gets saved in the Workspace.
for the next Simulation, I want to use the saved xFinal, as the initial state values. See the picture:

But when i run the simulink Model, I get the following error:

Can someone please help me? this is driving me crazy.
Thank you
Accepted Answer
More Answers (0)
Categories
Find more on Data Logging in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!