How to delay the boolean input to the next block?

1 view (last 30 days)
Hi,
I am new user to Simulink. I am having a 1 or 0 signal from a block and I want to store output as 1 when input is 1 continuously for some time say 1 second (But it should not store 1 if the input has changed from 1 to 0 in between)? Please help how to go about it. I used transport delay but it shows error as it requires continuous signal.

Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!