Matlab Level 2 s-function and Reset

Hallo,
is it possible to reset the continous states of a level 2 s-function from inside the s-function. Or is it necessary to use a triggered subsystem?
Best regards Martin

댓글 수: 1

Martin Rudigier
Martin Rudigier 2016년 7월 19일
I have found my solution. Its simple. I just set block.ContStates.Data(1) to zero. Is this a good solution?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Block and Blockset Authoring에 대해 자세히 알아보기

질문:

2016년 7월 19일

댓글:

2016년 7월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by