主要内容

matlab.unittest.constraints.AndConstraint 类

命名空间: matlab.unittest.constraints
超类: matlab.unittest.constraints.Constraint

约束的逻辑合取

描述

当您将约束与逻辑 AND 运算符 (&) 组合使用时,测试框架会实例化 matlab.unittest.constraints.AndConstraint 类。您无法直接创建此类的对象。

属性

全部展开

逻辑合取中的左侧约束,以 matlab.unittest.constraints.Constraint 对象形式返回。

属性:

GetAccess
public
SetAccess
private

逻辑合取中的右侧约束,以 matlab.unittest.constraints.Constraint 对象形式返回。

属性:

GetAccess
public
SetAccess
private

版本历史记录

在 R2013a 中推出