Scilab 5.4.0
- Scilab help
- Files : Input/Output functions
- Directory
- Paths - Filenames
- copyfile
- deletefile
- dispfiles
- fileinfo
- findfiles
- fprintf
- fprintfMat
- fscanf
- fscanfMat
- getmd5
- %io
- isfile
- listfiles
- listvarinfile
- maxfiles
- mclearerr
- mclose
- mdelete
- meof
- merror
- mfprintf
- mfscanf
- mget
- mgetl
- mgetstr
- mopen
- movefile
- mput
- mputl
- mputstr
- mseek
- mtell
- newest
- save_format
- scanf
- преобразование scanf
- sscanf
Please note that the recommended version of Scilab is 6.1.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 — предоставляет информацию о файле
Comments
Add a comment:
Please login to comment this page.