Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.0 - 日本語

Change language to:
English - Français - Português - Русский

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

Scilab help >> Files : Input/Output functions > isfile

isfile

引数がファイルかどうか調べる

呼び出し手順

b = isfile(filenames)

パラメータ

filenames

文字列または文字列の行列.

b

論理値の行列 (filenames が存在する場合に %t).

説明

b = isfile(filenames) は, filenames が 既存のファイルかどうかを調べます. (ディレクトリはファイルではありません. isdir を参照ください.)

cd SCI
            filenames = ls()
            isfile(filenames)
            
            isfile(filenames)
            
            isfile(SCI + '/etc')
            isdir(SCI + '/etc')

参照

  • fileinfo — ファイルに関する情報を出力
  • isdir — 引数がディレクトリパスかどうかを調べる
Report an issue
<< %io Files : Input/Output functions listfiles >>

Copyright (c) 2022-2023 (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:
Mon Oct 01 17:40:33 CEST 2012