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.

The figure shows the variables of a general KinematicsSolver object. Target (T), guess (G), and output (O) variables can be joint variables (J) or frame variables (F). The same variable can serve as guess and output or as target and output but not as guess and target.

Input Arguments

collapse all

A KinematicsSolver object is the representation of a Simscape Multibody model used for kinematic analysis.

Example: ks = simscape.multibody.KinematicsSolver('sm_double_pendulum')

Data Types: KinematicsSolver object

Introduced in R2019a