Documentation

pmit_add_constrain

Add constraint to handle object of PmitCadModelH class

Syntax

PmitError = pmit_add_constrain(PmitCadModelH pmitCadModelH, PmitConstrainH pmitConstrainH)

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 = pmit_add_constrain(PmitCadModelH pmitCadModelH, PmitConstrainH pmitConstrainH) returns an error status PmitError.

With pmit_add_constrain, you can add a constraint to a handle object of PmitCadModelH class that represents an API CAD model.

Input Arguments

pmitCadModelH

Handle object of PmitCadModelH class representing an API CAD model

pmitConstrainH

Handle object of PmitConstrainH class representing an API CAD model constraint

Introduced in R2009b

Was this topic helpful?