matlab.unittest.constraints.IsLessThanOrEqualTo Class
Namespace: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.Constraint
Test if value is less than or equal to specified value
Description
The matlab.unittest.constraints.IsLessThanOrEqualTo
class provides a
constraint to test if a numeric value is less than or equal to another value.
Creation
Description
c = matlab.unittest.constraints.IsLessThanOrEqualTo(ceilingValue)
creates a constraint to test if a value is less than or equal to
ceilingValue
and sets the CeilingValue
property. The sizes of the values being compared
must be the same or be compatible. For more information about compatible arrays, see Compatible Array Sizes for Basic Operations.
Properties
Examples
Version History
Introduced in R2013a