Delaying a continuous signal for a user specified duration in SIMULINK

2 ビュー (過去 30 日間)
Vijay
Vijay 2012 年 4 月 24 日
Hello,
I have a case that I want to delay the ouput of a continuous signal from a start time to end time. I know that using the existing delay block one can delay the start time of the output. But how to give an end time for this delay (how to specify the interval of the delay)?
For example, I have a sine curve as input for a block and I want to delay the output by say 2hrs and stop this output @4th hour so that I have output only between the 2nd and the 4th hour... The simulation time may be say 8 hrs.
Thanks in advance.

採用された回答

Kaustubha Govind
Kaustubha Govind 2012 年 4 月 25 日
Perhaps you could put the delay block inside an Enabled Subsystem, which is enabled at t=0 and disabled at t=4hrs?

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by