Motion input generation for Joints in Simscape Multibody

20 views (last 30 days)
Prasanna Venkatesh
Prasanna Venkatesh on 30 Sep 2019
Answered: Michael McGeehan on 2 Oct 2019
I have sequence of discrete 'theta' values in a matrix in MATLAB. How to use that as motion input for Revolute joint in Simscape multibody?

Answers (1)

Michael McGeehan
Michael McGeehan on 2 Oct 2019
You can specify the motion of the joint: expand the Actuation, set Torque to Automically Computed and Motion to Provided by Input. You can use a "from workspace" block and simulink-PS converter to drive the joint. Set the "from workspace" block to the MATLAB variable containing your joint angle(s).

Community Treasure Hunt

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

Start Hunting!