Man Scilab

fileinfo
Scilab Function

fileinfo - Provides information about a file

Calling Sequence

[x,ierr]=fileinfo(file)

Parameters

Description

x=fileinfo(file) returns

x(1) : The file size
x(2) : The file mode
x(3) : The user id
x(4) : the group id
x(5) : The device number
x(6) : The date of last modification
x(7) : The date of last change
x(8) : The date of last access
x(9) : The device type (if inode device)
x(10) : The blocksize for filesystem I/O
x(11) : The number of blocks allocated
x(12) : The inode
x(13) : The number of hard links

Reference

This function is an interface to the C function stat.

Examples


w=fileinfo(SCI+'/scilab.star')
getdate(w(6))
   
  

See Also

getdate ,   file ,   dispfiles ,   newest ,   isdir ,  

Author

S. Steer INRIA

Back