problem with working IF Block

조회 수: 2 (최근 30일)
Arun Badigannavar
Arun Badigannavar 2013년 2월 8일
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