TASK 5 PROBLEM SIMULINK ONRAMP
84 views (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/870720/image.png)
1 Comment
Sharul Baggio
on 19 Jul 2022
Moved: John D'Errico
on 25 Jan 2023
Anyone managed to solve this issue?
Answers (3)
Mertcan Oztas
on 4 Aug 2022
You also need to connect the output signal "h" to the middle input of the switch.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1087860/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1087860/image.png)
4 Comments
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1573377/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1573382/image.jpeg)
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!![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1573387/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1573387/image.jpeg)
3 Comments
Jonathan
on 8 Sep 2024
Couldn't get this to work. I'm stuck with the signal refusing to drop below 0.
See Also
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!