Main Content
matlab.unittest.constraints.HasElementCount Class
Namespace: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint
Test if array has specified number of elements
Description
The matlab.unittest.constraints.HasElementCount
class provides a constraint
to test if an array has the specified element count.
Creation
Properties
Examples
Version History
Introduced in R2013a