Info

This question is closed. Reopen it to edit or answer.

How can I have a timed (15 minutes) output signal based on external trigger? I want to generate an output HIGH signal for 15 minutes based on a event detection impulse signal.

1 view (last 30 days)
I want to generate an output signal for 15 minutes based on a event detection impulse signal. For example, if a event is detected at t=10 mins, then I want to have a HIGH output from t=10 mins to t=25 mins. I am not able to find a suitable block to hold the signal for 15 mins. Thanks a lot in advance!

Answers (1)

Sergey Kasyanov
Sergey Kasyanov on 28 Apr 2018
Edited: Sergey Kasyanov on 28 Apr 2018
Hello,
This is the model with standart Simulink blocks. Output from Switch1 is the desired signal.
The Compare To Constant1 block defines duration of the signal in seconds. The Constant2 block defines value of the signal.

This question is closed.

Community Treasure Hunt

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

Start Hunting!