Main Content

本页翻译不是最新的。点击此处可查看最新英文版本。

matlab.unittest.selectors.NotSelector 类

命名空间: matlab.unittest.selectors

选择器的逻辑求反

描述

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

类属性

Sealed
true

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

属性

全部展开

要求反的选择器,以 matlab.unittest.selectors 命名空间中的类的对象形式返回。如果您有 MATLAB® Test™ 许可证,您还可以将 Selector 指定为 matlabtest.selectors.DependsOn 对象。

属性:

GetAccess
public
SetAccess
private

版本历史记录

在 R2018a 中推出