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?

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2011년 10월 3일

2 개 추천

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

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

태그

질문:

2011년 10월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by