- 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

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