Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.1 - Français

Change language to:
English - 日本語 - Português - Русский

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

Aide de Scilab >> Entrées/Sorties [fichiers] > Répertoire > 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
Report an issue
<< dir Répertoire ls >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 02 13:54:34 CEST 2014