problem with working IF Block

3 次查看(过去 30 天)
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

采纳的回答

TAB
TAB 2013-2-8
Double click output ports in your if action subsystem and set Output when disabled property to held.
  1 个评论
TAB
TAB 2013-2-8
编辑:TAB 2013-2-8
This setting has no relation with block parameters. It is just to define behaviour of Outport when subsystem is disabled.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Subsystems 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by