checks that a path points to an existing directory
r = isdir(path)
a character string or a matrix of strings: a directory pathname.
a boolean: %t
if path
is a path to a directory.
r = isdir(path)
checks if path
is a path to a directory.
This function is based on the C function
stat
. The SCI
and ~
shortcuts for Scilab directory and home directory are handled.
Version | Description |
6.0.2 | isdir("w:") and isdir("w:\") and isdir("w:/") now return %F when the drive W: does not exist. |