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?

Respuestas (1)

Fangjun Jiang
Fangjun Jiang el 3 de Oct. de 2011

2 votos

In your model, click menu Simulation->Configuration Parameters... then in the left column, select Data Import/Export. On the right, Check "states".

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 3 de Oct. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by