simscape.multibody.ExternalTorque Class
Namespace: simscape.multibody
Description
Use an object of the simscape.multibody.ExternalTorque
class to construct
an external torque that you can apply to a frame connector in a compiled multibody
system.
Class Attributes
Sealed | true |
ConstructOnLoad | true |
RestrictsSubclassing | true |
For information on class attributes, see Class Attributes.
Creation
Description
constructs an external torque of torque
= simscape.multibody.ExternalTorque[0 0 0]
N*m
resolved about the axes of the frame to which the torque
applies.
constructs an external torque with the specified value resolved about the axes of the
resolution frame.torque
= simscape.multibody.ExternalTorque(value
,ResolutionFrame
)
Input Arguments
Examples
Create External Torque
Create an external torque that has a value of [3 2 2]
N*m
resolved about the axes of the world frame.
torque = simscape.multibody.ExternalTorque(simscape.Value([3 2 2],"N*m"),"World")
torque = ExternalTorque Resolution Frame: World Value: [3 2 2] : N*m
Version History
Introduced in R2025a