Simulink turning a Flag on and off

I have an input that once a threshold reaches, it is supposed to set a (flag) value to one. At that point a routine is suppose to start that slowly decreases the input to a lower threshold. I want to set the flag at that point to 0.
Can someone help with how I would approach this?

Answers (0)

Categories

Find more on Aerospace Blockset in Help Center and File Exchange

Asked:

on 29 Oct 2016

Community Treasure Hunt

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

Start Hunting!