Simulink Onramp 13.1 Task 5

I am encountering an error with task 5 of the simulink onramp. The task says to set the initial value to 60, but when i do it says the the output is wrong. What is the issue with what i did?

Answers (4)

Sai Sri Pathuri
Sai Sri Pathuri on 3 May 2020
You need to connect signal h to the input of switch block

4 Comments

okay, thank you
Hello,
Even after connecting h to signal and switch.. Unable to pass
please help.
It works for me Thank you so much
@Arunraddi R Mullur I restarted Matlab and it worked.

Sign in to comment.

J.Rezvani
J.Rezvani on 29 Jan 2023
h signal has to connect to both signal assessment and the middle input port of the switch block. also, the second integrator's initial value is 60.
OM
OM on 26 Jan 2023
Firstly you have to set the initial condition of Integrator 1 to 60 m.
Then you have to set the initial condition of Integrator 2 to -10m.
Roshan
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.

Tags

Asked:

on 3 May 2020

Answered:

on 13 May 2025

Community Treasure Hunt

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

Start Hunting!