<< mustBeA | Validators | mustBeFinite >> |
mustBeFile(var) |
mustBeFile(var, argPosition) |
C++: void mustBeFile(const ArrayOfVector& args, int argPosition) |
a variable: a scalar string array or row vector characters array.
a positive integer value: Position of input argument.
mustBeFile checks that input path refers to file or raise an error.
mustBeFile(tempdir())
mustBeFile([nelsonroot(), '/etc/startup.m'])
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET