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.

PmitError

Enumerated type for error status

Description

PmitError is a C language enumerated type.

A variable of this type is defined whenever you call any Simscape™ Multibody™ Link API function.

These are the variable's allowed enumerated values.

ValueError Type
PMIT_NO_ERROR = 0No error
PMIT_GENERIC_FAILFunction call failure not otherwise specified
PMIT_CAD_MODEL_NOTSETAPI representation of machine not defined
PMIT_XML_DOM_ERRORXML error
PMIT_UNHANDLED_CONSTRAINConstraint translation error
PMIT_INVALID_CON_COMPS 
PMIT_UNSUPPORTED_INERTIA_UNITMass or inertia unit specified that is not supported by API
PMIT_COULDNOT_CONNECTTO_MATLABFailure to connect to MATLAB®

Was this topic helpful?