FINDFILES Recursively search directory for files. FINDFILES returns a cell array with the file names of all files in the current directory and all subdirectories. FINDFILES(DIRNAME) returns the file names of all files in the given directory and its subdirectories. FINDFILES(DIRNAME, FILESPEC) only returns the file names matching the given file specification (like '*.c' or '*.m'). FINDFILES(DIRNAME, FILESPEC, 'nonrecursive') searches only in the top directory. FINDFILES(DIRNAME, FILESPEC, EXLUDEDIR1, ...) excludes the additional directories from the search. Markus Buehren Last modified 13.11.2007 See also DIR.