- Configure the Revolute Joint to accept motion as an input signal and automatically calculate the torque
- Add a Ramp block
- Add a Simulink-PS Converter block
- Connect as shown in the screenshot below.
- Replace Revolute Joint O with this new joint
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1182948/image.png)
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!