Main Content
matlab.unittest.constraints.IsValid Class
Namespace: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint
Description
The matlab.unittest.constraints.IsValid
class provides a constraint to test
if all elements of a handle array are valid. A handle is invalid if it has no corresponding
object.
Creation
Description
c = matlab.unittest.constraints.IsValid
creates a
constraint to test if a handle array is valid. The constraint is satisfied if all array
elements are valid handles.
Examples
Version History
Introduced in R2023a