How to get state values at a specified time?
Show older comments
I have a simulink model and I want to run it up to a specified time and then extract the values for all the states (to be used for linmod). Is there an easy way I can retrieve the state (integrator) values after a specified simulation time?
Answers (1)
Fangjun Jiang
on 3 Oct 2011
2 votes
In your model, click menu Simulation->Configuration Parameters... then in the left column, select Data Import/Export. On the right, Check "states".
Categories
Find more on Simulink 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!