Main Content

clearOutputVariables

Drop all output variables from the KinematicsSolver object

Description

clearOutputVariables(ks) drops all output variables from the KinematicsSolver object ks. Output variables are the unknowns to solve for and report on during analysis. Use this function if none of the output variables are any longer relevant—for example, before formulating a new kinematic problem for the same multibody model using other output variables.

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