Main Content

matlab.unittest.selectors.NotSelector Class

Namespace: matlab.unittest.selectors

Logical negation of selector

Description

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

Class Attributes

Sealed
true

For information on class attributes, see Class Attributes.

Properties

expand all

Selector being negated, returned as an object of a class in the matlab.unittest.selectors namespace. If you have a MATLAB® Test™ license, you can also specify Selector as a matlabtest.selectors.DependsOn or matlabtest.selectors.HasBaseline object.

Attributes:

GetAccess
public
SetAccess
private

Version History

Introduced in R2018a