TASK 5 PROBLEM SIMULINK ONRAMP

64 views (last 30 days)
Dhruv Choudhary
Dhruv Choudhary on 23 Jan 2022
Answered: Vasudev on 25 Sep 2025 at 16:14
  1 Comment
Sharul Baggio
Sharul Baggio on 19 Jul 2022
Moved: John D'Errico on 25 Jan 2023
Anyone managed to solve this issue?

Sign in to comment.

Answers (4)

Mertcan Oztas
Mertcan Oztas on 4 Aug 2022
You also need to connect the output signal "h" to the middle input of the switch.
  5 Comments
Nachammai Vanitha
Nachammai Vanitha on 14 Mar 2025
Thank You so much!!! :)

Sign in to comment.


Adam
Adam on 20 Dec 2023
Edited: Adam on 20 Dec 2023
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 Comments
Randy
Randy on 11 Feb 2025
try 59.81 (m) if 59.8 (m) doesnt work
Varma
Varma on 27 Feb 2025
just use 60 for both blocks.

Sign in to comment.


VBBV
VBBV on 23 Jan 2022
Set the initial condition source to external and try

Vasudev
Vasudev on 25 Sep 2025 at 16:14
I found restarting the Simulink example also works

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!