Contenu principal

matlab.unittest.constraints.NotConstraint Class

Namespace: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint

Logical negation of constraint

Description

When you negate a constraint with the logical NOT operator (~), the testing framework instantiates the matlab.unittest.constraints.NotConstraint class. You cannot create an object of this class directly.

Properties

expand all

Constraint being negated, returned as a matlab.unittest.constraints.Constraint object.

Attributes:

GetAccess
public
SetAccess
private

Version History

Introduced in R2013a