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

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ヘルプ >> Files : Input/Output functions > newest

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
<< mtell Files : Input/Output functions save_format >>

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:
Wed Apr 01 10:25:03 CEST 2015