Scilab 5.3.1
      
      - Ajuda Scilab
 - Arquivos : funções de Entrada/Saída
 - chdir
 - fileinfo
 - get_absolute_file_path
 - getrelativefilename
 - newest
 - sscanf
 - basename
 - copyfile
 - createdir
 - deletefile
 - dir
 - dirname
 - dispfiles
 - fileext
 - fileparts
 - filesep
 - findfiles
 - fprintf
 - fprintfMat
 - fscanf
 - fscanfMat
 - fullfile
 - fullpath
 - getdrives
 - getlongpathname
 - getshortpathname
 - %io
 - isdir
 - isfile
 - listfiles
 - listvarinfile
 - ls
 - maxfiles
 - mclearerr
 - mclose
 - mdelete
 - meof
 - merror
 - mfprintf
 - mscanf
 - mget
 - mgetl
 - mgetstr
 - mkdir
 - mopen
 - movefile
 - mput
 - mputl
 - mputstr
 - mseek
 - mtell
 - pathconvert
 - pathsep
 - pwd
 - removedir
 - rmdir
 - save_format
 - scanf
 - scanf_conversion
 
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
retorna o arquivo mais novo de um conjunto de arquivos
Seqüência de Chamamento
k=newest(paths) k=newest(path1,path2,...,pathn)
Parâmetros
- k
 o índice do arquivo mais novo
- paths
 vetor de strings, paths(i) é o endereço do i-ésimo arquivo
- pathi
 string, o endereço do i-ésimo arquivo
Descrição
Dado um conjunto de endereços, newest retorna o índice do mais novo. Arquivos não existentes são supostos como mais antigos.
Exemplos
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'])
Ver Também
- fileinfo — Fornece informações sobre um arquivo
 
| << getrelativefilename | Arquivos : funções de Entrada/Saída | sscanf >> |