Simscape vehicle body incline angle
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
salma ariche
le 3 Juil 2022
i'm facing the same problem, could you help please if you have resolved this issue?
Réponses (1)
J Chen
le 4 Juil 2022
Connect a Simulink signal source block through a Simulink-PS Converter block (in Simscape-Utilities) to the beta port.
2 commentaires
salma ariche
le 4 Juil 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
le 5 Juil 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.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!