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 ExchangeBlock 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