ファイルの集合の中で最新のファイルを返す
k=newest(paths) k=newest(path1,path2,...,pathn)
最新のファイルの添字
文字列ベクトル, paths(i) はi番目のファイルの名前
文字列, i番目のファイルのパス名
パス名の集合を指定すると,最新のファイルの添字を返します. 存在しないファイルは最も古いと仮定されます.
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'])