GTUNTS

Utility/Data Access SubroutineRetrieves unit information from MotionSolve.

Use

The function can be called by any user-defined subroutine.

Format

Fortran Calling Syntax
CALL GTUNTS(EXIST, SCALES, UNITS)
C/C++ Calling Syntax
c_gtunts(exists, scales, units)
Python Calling Syntax
[exist, scales, units] = py_gtunts()
MATLAB Calling Syntax
[exist, scales, units] = m_gtunts()

Output

EXIST
[logical]
If this variable is true, then units were set for the model.
SCALES
[double precision]
An array that contains conversion factors from model units to SI units for time, length, force, and mass.
UNITS
[integer]
An array that contains two character abbreviations for units of time, length, force, and mass.