Main Content
matlab.unittest.constraints.IsFolder Class
Namespace: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint
Test if value is folder
Description
The matlab.unittest.constraints.IsFolder
class provides a constraint to
test if a value represents a folder.
Creation
Description
c = matlab.unittest.constraints.IsFolder
creates
a constraint to test if a value represents a folder. The constraint is satisfied by a
string scalar or character vector that specifies the path to an existing folder. The value
can be a relative path, but the relative path must be in the current folder. Otherwise,
the value must be a full path.
Examples
Version History
Introduced in R2018a