Documentation

PmitError

Enumerated type for error status

Description

Warning

This content is specific to Simscape™ Multibody™ First Generation software. First-generation features are slated to be deprecated and should be avoided.

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?