Simulink on ramp 13.1 task 5
Show older comments
Hello Simulink/Matlab users. Im stuck on 13.1 Part 2 task 5. I changed the integrator block intial condition to 60 but it didnt work. Anyone who help will be highly appreciated.
1 Comment
Roshan
on 13 May 2025
For new learners : For the task 5, the stop time is 10, check whether you have entered exactly 10 to trace everything as per the requirement of the task. Also dont't forget to connect h to the signal requirement.
Answers (2)
Bhavesh Ramkrishna
on 28 Apr 2023
1 vote

Connect h to Switch Block it will work.:)
Sai Sri Pathuri
on 4 Mar 2020
0 votes

The task is designed with an initial condition of '0' (you can see the Signal requirement in above diagram). So, an initial condition of 60 is giving an error due to mismatch of generated signal with required signal.
9 Comments
MOHAMED ACHRAF LOUMI
on 15 Mar 2020
So what to do exactly to pass this task? because I have the same error and I'm stuck
Sai Sri Pathuri
on 16 Mar 2020
Hi, I am sorry about the previous answer. I considered the task 5 of Part 1.
In Part 2 task 5, you need to connect signal 'h' to Signal Assessment block after changing the initial condition.

MOHAMED ACHRAF LOUMI
on 16 Mar 2020
Hi! Thank you for your reply.
I did already but still the same problem, here is a picture:

Sai Sri Pathuri
on 16 Mar 2020
You also need to connect signal h to the input of switch block
MOHAMED ACHRAF LOUMI
on 16 Mar 2020
Thank you very much, it works!
Büsra Akdemir
on 25 Apr 2020
Hi, I also have the problem. I need some help for solving this.Thank you

Sai Sri Pathuri
on 30 Apr 2020
You may refer this answer - https://in.mathworks.com/matlabcentral/answers/479461-simulink-onramp-13-1-task-4?s_tid=answers_rc1-1_p1_Topic
Arunraddi R Mullur
on 17 Jul 2020
Hello,
Even after following everything, Im getting error and unable to pass task 5.
please help!!!!

I got the same issue. Signal Assessment is 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!

Categories
Find more on Inputs 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!