Main Content

simscape.multibody.PrismaticPrimitive Class

Namespace: simscape.multibody
Superclasses: simscape.multibody.JointPrimitive

Construct prismatic joint primitive

Since R2022a

Description

Use an object of the simscape.multibody.PrismaticPrimitive class to construct a prismatic joint primitive. The prismatic joint primitive has one translational degree of freedom along an axis of the base frame. The prismatic primitive appears in many joint objects, such as simscape.multibody.PrismaticJoint and simscape.multibody.PlanarJoint.

Set the ForceLaws property of a PrismaticPrimitive object to a simscape.multibody.AxialSpringDamper object to apply an axial force to the primitive.

Class Attributes

Sealed
true
ConstructOnLoad
true
RestrictsSubclassing
true

For information on class attributes, see Class Attributes.

Creation

Description

rp = simscape.multibody.PrismaticPrimitive constructs a prismatic joint primitive with default values.

Version History

Introduced in R2022a