matlab.unittest.constraints.PublicPropertyComparator.supportingAllValues
类: matlab.unittest.constraints.PublicPropertyComparator
命名空间: matlab.unittest.constraints
在递归中支持所有值的公共属性比较器
语法
说明
c = matlab.unittest.constraints.PublicPropertyComparator.supportingAllValues 为 MATLAB® 对象数组的公共属性创建一个比较器。此比较器以递归方式运算,支持公共属性中包含的所有数据类型。
c = matlab.unittest.constraints.PublicPropertyComparator.supportingAllValues( 使用一个或多个名称-值参量设置其他选项。例如,Name,Value)c = matlab.unittest.constraints.PublicPropertyComparator.supportingAllValues("IgnoringCase",true) 创建一个不区分大小写的比较器。
名称-值参数
示例
限制
PublicPropertyComparator类不支持重载subsref、numel或properties函数的对象的公共属性。
版本历史记录
在 R2014a 中推出