mustBeFolder(var)
mustBeFolder(var, argPosition)
C++: void mustBeFolder(const ArrayOfVector& args, int argPosition)
| Parameter | Description |
|---|---|
| var | a variable: a scalar string array or row vector characters array. |
| argPosition | a positive integer value: Position of input argument. |
mustBeFolder checks that input path refers to folder or raise an error.
mustBeFolder(tempdir())
mustBeFolder('hello_nelson')
| Version | Description |
|---|---|
| 1.0.0 | initial version |