matlab.unittest.constraints.PublicPropertyComparator.supportingAllValues
Class: matlab.unittest.constraints.PublicPropertyComparator
Namespace: matlab.unittest.constraints
Comparator for public properties that supports all values in recursion
Syntax
Description
c = matlab.unittest.constraints.PublicPropertyComparator.supportingAllValues
creates a comparator for public properties of MATLAB® object arrays. This comparator operates recursively and supports all data
types contained in the public properties.
c = matlab.unittest.constraints.PublicPropertyComparator.supportingAllValues(
sets additional options using one or more name-value arguments. For example, Name,Value
)c =
matlab.unittest.constraints.PublicPropertyComparator.supportingAllValues("IgnoringCase",true)
creates a comparator that is insensitive to case.
Input Arguments
Examples
Limitations
The
PublicPropertyComparator
class does not support the public properties of objects that overload thesubsref
,numel
, orproperties
functions.
Version History
Introduced in R2014a