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.
Value | Error Type |
---|---|
PMIT_NO_ERROR = 0 | No error |
PMIT_GENERIC_FAIL | Function call failure not otherwise specified |
PMIT_CAD_MODEL_NOTSET | API representation of machine not defined |
PMIT_XML_DOM_ERROR | XML error |
PMIT_UNHANDLED_CONSTRAIN | Constraint translation error |
PMIT_INVALID_CON_COMPS | |
PMIT_UNSUPPORTED_INERTIA_UNIT | Mass or inertia unit specified that is not supported by API |
PMIT_COULDNOT_CONNECTTO_MATLAB | Failure to connect to MATLAB® |