I am simulating a model in MATLAB SIMULINK. One of the output signals varies between 0 and 1. I want to apply this output to some next block but the condition is that if output is 0 then introduce delay of few milliseconds and if output is 1 then No delay.
How to achieve this.