主要内容

matlab.unittest.selectors.NotSelector 类

命名空间: matlab.unittest.selectors
超类: matlab.unittest.selectors.Selector

选择器的逻辑求反

描述

当您使用逻辑非运算符 (~) 对选择器求反时,测试框架会实例化 matlab.unittest.selectors.NotSelector 类。您无法直接创建此类的对象。

类属性

Sealed
true

有关类属性的信息,请参阅类属性

属性

全部展开

要求反的选择器,以 matlab.unittest.selectors.Selector 对象形式返回。

属性:

GetAccess
public
SetAccess
private

版本历史记录

在 R2018a 中推出