This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

clearTargetVariables

Drop all target variables from the KinematicsSolver object

Syntax

clearTargetVariables(ks)

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.

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 target and output, but if it serves as target, it cannot double as guess. Assigning a guess variable as target clears it as guess.

Input Arguments

collapse all

Name of the KinematicsSolver object for which to run the analysis. The object is a kinematic representation of the model from which it derives. It contains the variables upon which the analysis depends.

Example: 'fourBarKS'

Data Types: char | string

Introduced in R2019a