Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Português - Русский - 日本語
Aide de Scilab >> Entrées/Sorties [fichiers] > isfile

isfile

checks whether argument is an existing file

Syntax

x = isfile(filenames)

Arguments

filenames

a character string or a string matrix.

x

a matrix of boolean (%t if filenames are existing files).

Description

x = isfile(filenames) checks whether filenames is an existing file or not (a directory is not a file). See also isdir.

Examples

filenames = ls(SCI)

x = isfile(filenames)

isfile(SCI + '/etc')
isdir(SCI + '/etc')

See Also

  • fileinfo — provides information about a file
  • isdir — checks if argument is a directory path
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:31:06 CEST 2016