Main Content

outputVariables

List all kinematic variables assigned as outputs

Description

outputVariables(ks) lists the kinematic variables in the KinematicsSolver object ks so far assigned as outputs. Both joint and frame variables can serve in this role. Those that do are unknowns to solve for and report on during analysis. Their solution is constrained by target variables and biased toward one of equally plausible solutions, when several exist, by guess variables.

The output is a table with the output variables in rows. Each row gives the ID of a variable, the type and block path of the joint to which it belongs if a joint variable, the base and follower frames from which it derives if a frame variable, and the unit for its numerical value. The variables rank in the order added.

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