Simulink: How can I off Signal after 10 seconds

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

what do you mean by off signal? I think you should speak about off system

Sign in to comment.

Answers (2)

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.
You can use integer delay block for your application.

Categories

Find more on Simulink in Help Center and File Exchange

Products

Tags

Asked:

on 9 Oct 2012

Community Treasure Hunt

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

Start Hunting!