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?

답변 (4개)

Sai Sri Pathuri
Sai Sri Pathuri 2020년 5월 3일

1 개 추천

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

댓글 수: 5

David Nicholson
David Nicholson 2020년 5월 3일
okay, thank you
Arunraddi R Mullur
Arunraddi R Mullur 2020년 7월 17일
Hello,
Even after connecting h to signal and switch.. Unable to pass
please help.
Oussama Bousken
Oussama Bousken 2022년 11월 9일
It works for me Thank you so much
Harindu Jayarathne
Harindu Jayarathne 2023년 11월 12일
@Arunraddi R Mullur I restarted Matlab and it worked.
Martin
Martin 2026년 3월 17일
Great, thanks...works fine now

댓글을 달려면 로그인하십시오.

J.Rezvani
J.Rezvani 2023년 1월 29일

1 개 추천

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 2023년 1월 26일

0 개 추천

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 2025년 5월 13일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Model Verification에 대해 자세히 알아보기

태그

질문:

2020년 5월 3일

댓글:

2026년 3월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by