matlab.unittest.constraints.IsFinite Class
Namespace: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint
Test if array elements are finite values
Description
The matlab.unittest.constraints.IsFinite
class provides a constraint to
test if elements of an array are finite values.
Creation
Description
c = matlab.unittest.constraints.IsFinite
creates
a constraint to test if all elements of an array are finite values. The constraint is
satisfied by a numeric array that does not contain any infinite or NaN
values.
Examples
Version History
Introduced in R2013a