Ramp variation with variable start time

Hi, I have to create a Simulink model which varies the output signal from 0 to 90 when an activation signal goes from 0 to 1 and from 90 to 0 when the activation signal returns to zero. I have created the following graph to explain what I have to do. The activation signal can be changed at any time (as a switch activated by the user). The output signal must vary with a ramp trend (as shown in the figure).
How can I realize this model?
Thanks

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by