Change physical unit of kinematic variable
changes the physical unit of the kinematic variable
id in the
ks to the measure given in
unit. That measure must be a valid unit, and the unit must be
appropriate for the variable—a length for translation variables and an angle for rotation
variables. Rotation axis components, used in spherical joint primitives, must remain
The new unit applies to every instance of the specified variable: if the variable appears in several variable groups, the unit takes effect in each of the groups.
ks— Kinematics solver object
KinematicsSolver object is the representation of a Simscape
Multibody model used for kinematic analysis.
Example: ks = simscape.multibody.KinematicsSolver('sm_double_pendulum')
id— Identifier for kinematic variable whose units to change
unit— New unit for specified kinematic variable