Main Content

clearTargetVariables

Drop all target variables from the KinematicsSolver object

Description

clearTargetVariables(ks) drops all target variables from the KinematicsSolver object ks. Target variables guide joints and bodies into place for analysis. Use this function if none of the target variables are any longer relevant—for example, to formulate a different kinematic problem to solve.

Input Arguments

collapse all

Kinematics solver object, specified as a KinematicsSolver object that is the representation of the Simscape™ Multibody™ model used for kinematic analysis.

Example: ks = simscape.multibody.KinematicsSolver("DoublePendulumExample​'​')

Version History

Introduced in R2019a