Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - 日本語 - Русский

Please note that the recommended version of Scilab is 6.1.1. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Files : Input/Output functions > Directory > isdir


checks if argument is a directory path

Calling Sequence

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.


isdir SCI/etc/scilab.start

See Also

  • isfile — checks whether argument is an existing file
  • fileinfo — provides information about a file
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Apr 02 17:36:22 CEST 2013