MATLAB Answers


Second Generation Sim Mechanics Motion Actuation

Asked by nicholas
on 8 Nov 2013
Latest activity Edited by John Kelly
on 26 Feb 2015

I'm trying to actuate a prismatic joint to follow a specific motion. I basically want the joint motion to be sinusoidal in the vertical direction. In the prismatic joint dialogue box, I've selected "Provided by Input" under the Actuation >> Motion drop-down menu. Then I have a sine source going through a 3-input Mux (for position, velocity, and acceleration) through a Simulink-PS converter to the Prismatic Joint input. This arrangement isn't working, and I've tried several other arrangements that have failed. I'm sure there is a way to do it, but I haven't had any luck. Any advice would be greatly appreciated.

Again, I'm using the second generation of sim mechanics.


2 Answers

Answer by Guy Rouleau
on 9 Nov 2013
Edited by John Kelly
on 26 Feb 2015

Sicne you don't provide the error, it is difficult to diagnose... The "Joint Actuation" doc page explains what you need to actuate a joint in motion:


Answer by Guy Rouleau
on 14 Nov 2013

I just published this post today... this should help:


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!