Quantcast

Documentation Center

  • Trial Software
  • Product Updates

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 SimMechanics™ 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?