Main Content
removePortConstraint
Class: Simulink.Mask
Namespace: Simulink
Syntax
aMaskObj.removePortConstraint(name)
Description
aMaskObj.removePortConstraint(
removes the specified port constraint from the mask object.name
)
Input Arguments
Example
amaskObj=Simulink.Mask.get(model1/subsystem) amaskObj.removePortConstraints('pc1') amaskObj.getPortConstraint('pc1')
Constraints 'pc1' is not available in the block 'model1/Subsystem'.
Version History
Introduced in R2022a