Simulink: How can I off Signal after 10 seconds

6 次查看(过去 30 天)
Dear all,
What can I use to OFF signal after say 100 seconds or 50 seconds. What kind of Function can I use?
I understand to delay a signal I can use a "Transport Delay".
What about if I want to off my Signal after a while? What can I use? And for this, I need an input and output port to it like the "Transport Delay" as I need it to be placed in-between a input signal and s solenoid valve.

回答(2 个)

Kaustubha Govind
Kaustubha Govind 2012-10-9
I think you should use an Enabled Subsystem (inside, the input is directly connected to the output). Enable the subsystem for the duration that you want the output to be equal to the input (say, for the first 100s) using a Step block as the control signal.

Sachin Ganjare
Sachin Ganjare 2012-10-9
You can use integer delay block for your application.

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by