PIVMat Function Reference<< Prev | Next >> 
rrmdir
Delete a series of directories.

Description
rrmdir dir_name  deletes the named directories. Wildcards may be used 
in the directory name and in the intermediate pathnames, contrarily 
to RMDIR. Brackets ([]) may also be used (see rdir). 
 
Use the functional form of rrmdir, such as rrmdir('dir'), when the 
directory names are stored in a string or a cell array of strings. 
 
The syntax is the same as for MATLAB's RMDIR. In particular, the 
additional input and output arguments of RMDIR can be used, i.e. 
[SUCCESS,MESSAGE,MESSAGEID] = rrmdir(DIRECTORY,MODE). See RMDIR for 
details. 
 
To delete files, see rdelete. 
 
Examples
 
   rrmdir('mydir*') deletes all the directories 'mydir*' 
 
   rrmdir('mydir*/sub[1:10,2]') deletes the subdirectories 'sub01', 
   'sub02',... in each directory mydir*. 
 
See Also
RMDIR, rdir, rdelete, DELETE. 
 
Published output in the Help browser 
   showdemo rrmdir 

 Previous: rotatefNext: setoriginf 

2005-2016 PIVMat Toolbox 4.01