TASK 5 PROBLEM SIMULINK ONRAMP

回答(4 个)

Mertcan Oztas
Mertcan Oztas 2022-8-4

4 个投票

You also need to connect the output signal "h" to the middle input of the switch.
Adam
Adam 2023-12-20
编辑:Adam 2023-12-20

2 个投票

I got the issue of Signal Assessment being so close to my line but plots with error below -13(ish). I think there is a bug as I've done as instructed.
To progress I had to fudge my result. 2 integrators, one initial condition set to 60 (m) and one set to 59.8 (m)
I then built a switch to change the output when the value hit -10m. It makes the very fine adjustment needed to continue with the on ramp!

4 个评论

Thank you very much
Couldn't get this to work. I'm stuck with the signal refusing to drop below 0.
try 59.81 (m) if 59.8 (m) doesnt work
just use 60 for both blocks.

请先登录,再进行评论。

VBBV
VBBV 2022-1-23

0 个投票

Set the initial condition source to external and try
Vasudev
Vasudev 2025-9-25

0 个投票

I found restarting the Simulink example also works

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by