Main Content


Drop all guess variables from the KinematicsSolver object


clearInitialGuessVariables(ks) drops all guess variables from the KinematicsSolver object ks. Guess variables bias the solver toward one of equally plausible solutions when several exist. Use this function if none of the guess variables are any longer relevant—for example, before formulating a new kinematic problem for the same multibody model using other guess variables. Guess variables are optional but important solver guides in some kinematic problems.

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