Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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 回表示 (過去 30 日間)
Gaurav Chingale
Gaurav Chingale 2018 年 4 月 28 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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!

回答 (1 件)

Sergey Kasyanov
Sergey Kasyanov 2018 年 4 月 28 日
編集済み: Sergey Kasyanov 2018 年 4 月 28 日
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.

Community Treasure Hunt

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

Start Hunting!

Translated by