componentResults
R2026bClass: simscape.multibody.CompiledMultibody
Namespace: simscape.multibody
Syntax
Description
returns positions and velocities for the specified joint component. The
results = componentResults(cmb,componentPath,state)componentPath argument specifies the path to the joint component in
the compiled multibody system, cmb. The state
argument provides the system state.
returns positions, velocities, accelerations, forces, and torques for the specified joint
component. The results = componentResults(cmb,componentPath,dynamicsResult)dynamicsResult argument provides the system
dynamics.
You can use the componentResults method to query computed quantities for
all joint components except simscape.multibody.ConstantVelocityJoint.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2026b