Main Content
matlab.unittest.constraints.HasInf Class
Namespace: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint
Test if array has infinite values
Description
The matlab.unittest.constraints.HasInf
class provides a constraint to test
if an array has infinite values.
Creation
Description
c = matlab.unittest.constraints.HasInf
creates a
constraint to test if an array has infinite values. The constraint is satisfied by a
numeric array that has at least one infinite value.
Examples
Version History
Introduced in R2013a