Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

PmitLengthUnit

Enumerated type for specifying length unit in API session

Description

PmitLengthUnit is a C language enumerated type.

You can define a variable of this type globally when you start a Simscape™ Multibody™ Link API session.

These are the variable's allowed enumerated values.

ValueLength Unit Type
PMIT_LU_UNKNOWN = -1Unknown
PMIT_LU_M = 0Meter
PMIT_LU_CMCentimeter
PMIT_LU_MMMillimeter
PMIT_LU_KMKilometer
PMIT_LU_INInch
PMIT_LU_FTFoot
PMIT_LU_MIMile
PMIT_LU_YDYard

Was this topic helpful?