Main Content
matlab.unittest.constraints.HasField Class
Namespace: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint
Test if structure array has specified field
Description
The matlab.unittest.constraints.HasField
class provides a constraint to
test if a value is a structure array that has a specified field.
Creation
Properties
Examples
Version History
Introduced in R2013b