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?

Réponses (4)

Sai Sri Pathuri
Sai Sri Pathuri le 3 Mai 2020

1 vote

You need to connect signal h to the input of switch block

4 commentaires

David Nicholson
David Nicholson le 3 Mai 2020
okay, thank you
Arunraddi R Mullur
Arunraddi R Mullur le 17 Juil 2020
Hello,
Even after connecting h to signal and switch.. Unable to pass
please help.
Oussama Bousken
Oussama Bousken le 9 Nov 2022
It works for me Thank you so much
Harindu Jayarathne
Harindu Jayarathne le 12 Nov 2023
@Arunraddi R Mullur I restarted Matlab and it worked.

Connectez-vous pour commenter.

J.Rezvani
J.Rezvani le 29 Jan 2023

1 vote

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 le 26 Jan 2023

0 votes

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 le 13 Mai 2025

0 votes

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

Community Treasure Hunt

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

Start Hunting!

Translated by