How to get state values at a specified time?

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?

Réponses (1)

Fangjun Jiang
Fangjun Jiang le 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".

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by