Package: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint
Constraint specifying value points to file
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.
Value. To learn how value classes affect copy operations, see Copying Objects.