matlab.unittest.constraints.HasLength Class
Namespace: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint
Test if array has specified length
Description
The matlab.unittest.constraints.HasLength
class provides a constraint to
test if an array has the specified length. The length of an array is defined as the length of
the largest dimension of that array.
Creation
Properties
Examples
Version History
Introduced in R2013a