computeDynamics
R2026bClass: simscape.multibody.CompiledMultibody
Namespace: simscape.multibody
Syntax
Description
computes the dynamics results of the compiled multibody model, dynamicsResult = computeDynamics(cmb,state)cmb,
with the state, state.
computes the dynamics results of the compiled multibody model with the uniform gravity,
dynamicsResult = computeDynamics(cmb,state,uniformGravity)uniformGravity.
computes the dynamics results of the compiled multibody model with the joint actuations,
dynamicsResult = computeDynamics(cmb,state,jointActuation)jointActuation.
computes the dynamics results of the compiled multibody model with the joint accelerations,
dynamicsResult = computeDynamics(cmb,state,jointAcceleration)jointAcceleration.
computes the dynamics results of the compiled multibody model with the external forces and
torques, dynamicsResult = computeDynamics(cmb,state,externalForceTorque)externalForceTorque.
computes the dynamics results of the compiled multibody model with the specified uniform
gravity, joint actuations, joint accelerations, and applied external forces and torques.
These input arguments are optional, and the dynamicsResult = computeDynamics(cmb,state,uniformGravity,jointActuation,jointAcceleration,externalForceTorque)computeDynamics method can
accept one or more types of arguments in any order.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2024a