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 个评论

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 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by