Simscape vehicle body incline angle
1 view (last 30 days)
Show older comments
Hi all,
Is it possible to feed a changing gradient with distance or time to the incline angle port of the vehicle body block over the course of the simulation?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171323/image.png)
Thanks
1 Comment
salma ariche
on 3 Jul 2022
i'm facing the same problem, could you help please if you have resolved this issue?
Answers (1)
J Chen
on 4 Jul 2022
Connect a Simulink signal source block through a Simulink-PS Converter block (in Simscape-Utilities) to the beta port.
2 Comments
salma ariche
on 4 Jul 2022
i should add a buffer to the signal generator to get one value at a time ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1054345/image.png)
J Chen
on 5 Jul 2022
I don't understand why your Signal Generator outputs a vector. Try a simple block such as Ramp block first. The output of the source block should be a scalar.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!