Main Content

removePortConstraintAssociation

Remove association between port constraint and port identifiers

Since R2022a

Syntax

aMaskObj.removePortConstraintAssociation(portConstraint, portIdentifier)
aMaskObj.removePortConstraintAssociation(portConstraint)

Description

aMaskObj.removePortConstraintAssociation(portConstraint, portIdentifier) removes the association between the specified port constraint and the port identifier.

aMaskObj.removePortConstraintAssociation(portConstraint) removes all the associated port identifiers with the port constraint.

Input Arguments

expand all

Name of the port constraint, specified as a string.

Data Types: char | string

Name of the port identifier to be removed from the port constraint association is specified as a string.

Data Types: char | string

Examples

%Specify the port constraint and port identifier
aMaskObj.removePortConstraintAssociation('pc3','pi_1');
%Specify port constraint
aMaskObj.removePortConstraintAssociation('pc3');

Version History

Introduced in R2022a