checks if argument is a directory path
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.