matlab.unittest.constraints.IsFile class
Package: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint
Constraint specifying value points to file
Construction
IsFile
creates a constraint specifying that a value is a string scalar or character vector that points to an existing file. The constraint is satisfied if the value is an absolute or relative path to an existing file.
Copy Semantics
Value. To learn how value classes affect copy operations, see Copying Objects.