problem with working IF Block

13 Ansichten (letzte 30 Tage)
Arun Badigannavar
Arun Badigannavar am 8 Feb. 2013
In if block subsystem,,,wen a control goes to else condition,,,my if condition subsystem will be reset to '0',,but i dont want it,,,i want to keep hold the last value of if control subsystem,,,anybody know how to make if control subsytem to hold the last calculated value

Akzeptierte Antwort

TAB
TAB am 8 Feb. 2013
Double click output ports in your if action subsystem and set Output when disabled property to held.
  1 Kommentar
TAB
TAB am 8 Feb. 2013
Bearbeitet: TAB am 8 Feb. 2013
This setting has no relation with block parameters. It is just to define behaviour of Outport when subsystem is disabled.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Subsystems finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by