fileinfo — Provides information about a file
[x,ierr]=fileinfo(file)
a character string, the file pathname
an integer vector of size 6 containing information or an empty matrix if file does not exist.
error indicator, 0, if no error has occured
x=fileinfo(file) returns
The file size
The file mode
The user id
the group id
The device number
The date of last modification
The date of last change
The date of last access
The device type (if inode device)
The blocksize for filesystem I/O
The number of blocks allocated
The inode
The number of hard links