setVariableUnit
Change physical unit of kinematic variable
Description
setVariableUnit(
changes the physical unit of the kinematic variable ks
,ids
,unit
)id
in the
KinematicsSolver
object 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
unitless.
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.
Input Arguments
Version History
Introduced in R2019a