Main Content

simscape.multibody.PrismaticPrimitiveActuationForce Class

Namespace: simscape.multibody

Construct actuation force for prismatic joint primitive

Since R2024a

Description

Use an object of the simscape.multibody.PrismaticPrimitiveActuationForce class to construct an actuation force to apply to a prismatic joint primitive.

Class Attributes

Sealed
true
ConstructOnLoad
true
RestrictsSubclassing
true

For information on class attributes, see Class Attributes.

Creation

Description

force = simscape.multibody.PrismaticPrimitiveActuationForce constructs an actuation force of 0 N.

force = simscape.multibody.PrismaticPrimitiveActuationForce(value) constructs an actuation force with the specified value. value must be a simscape.Value object that represents a scalar with a unit of force.

Examples

collapse all

  • Create an actuation force and specify its value as 5 N.

    force = simscape.multibody.PrismaticPrimitiveActuationForce(...
                                          simscape.Value(5,"N"))
    
    force = 
    
      Value: 5 : N

Version History

Introduced in R2024a