Scilab-Branch-6.1-GIT
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
newest
ファイルの集合の中で最新のファイルを返す
呼び出し手順
k = newest(paths) k = newest(path1, path2, ..., pathn)
引数
- k
整数: 最新のファイルの添字
- paths
文字列ベクトル,
paths(i)はi番目のファイルの名前- pathi
文字列,
i番目のファイルのパス名
説明
パス名の集合を指定すると,newestは,
最新のファイルの添字を返します.
存在しないファイルは最も古いと仮定されます.
例
newest('SCI/modules/graphics/macros/bode.sci','SCI/modules/graphics/macros/bode.bin') newest(['SCI/modules/graphics/macros/bode.sci','SCI/modules/graphics/macros/bode.bin']) newest('SCI/modules/graphics/macros/bode.'+['sci','bin'])
参照
- fileinfo — ファイルに関する情報を出力
| Report an issue | ||
| << movefile | file_system | Paths - Filenames >> |