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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Block and Blockset Authoring finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 19 Jul. 2016

Kommentiert:

am 19 Jul. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by