MATLAB Answers

SIMULINK step, ramp "Start time" on command

6 views (last 30 days)
I need a step and a ramp block where the start time is not fixed. Something where I can use a switch to give the step block an input on when to start.
Imagine trying to actuate a valve that gets actuated depending on the pressure sensor value. So when the pressure sensor near to the valve reads, lets say 100 psi, it send a signal to actuate the valve. This is when the step/ramp function needs to start generating a signal.


Sign in to comment.

Accepted Answer

Leonardo Maia
Leonardo Maia on 5 Aug 2020
A possible solution would be to use an enable subsystem, where the enable signal would be the result of checking the pressure sensor value.


Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by