SIMULINK step, ramp "Start time" on command

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.

 采纳的回答

maiaL
maiaL 2020-8-5
A possible solution would be to use an enable subsystem, where the enable signal would be the result of checking the pressure sensor value.

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 General Applications 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by