Simulink: How can I off Signal after 10 seconds

6 views (last 30 days)
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.
  1 Comment
Azzi Abdelmalek
Azzi Abdelmalek on 9 Oct 2012
Edited: Azzi Abdelmalek on 9 Oct 2012
what do you mean by off signal? I think you should speak about off system

Sign in to comment.

Answers (2)

Kaustubha Govind
Kaustubha Govind on 9 Oct 2012
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 on 9 Oct 2012
You can use integer delay block for your application.

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!