Navigation

Operators and Keywords

Function List:

C++ API

fileattrib.m File Reference


Functions

 if (nargin==0) file
endif if (ischar(file)) files
 if (isempty(files)) files
endif else error ("fileattrib: expecting first argument to be a character string")
 if (!err) r_n
endif endfor if (status) r
 if (nargout==0) status
endif endif else print_usage ()

Variables

 function [status, msg, msgid]
 msg = ""
 msgid = ""
 nfiles = 1
 curr_dir = pwd ()
for i
 modestr = canonicalize_file_name (files{i}) info.modestr
else status = false
 break

Function Documentation

endif else error ( "fileattrib: expecting first argument to be a character string  ) 

if ( nargout  = =0  ) 

endif endfor if ( status   ) 

if ( err  ) 

if ( isempty(files  ) 

endif if ( ischar(file  ) 

if ( nargin  = =0  ) 

endif endif else print_usage (  ) 


Variable Documentation

break

curr_dir = pwd ()

Initial value:

 fileattrib (file)

  status = true

for i

Initial value:

 1:nfiles
      [info, err, msg] = stat (files{i})

modestr = canonicalize_file_name (files{i}) info.modestr

else msg = ""

msgid = ""

else nfiles = 1

else status = false