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