MatrixBerryCore
listfilesrecursive.m
Go to the documentation of this file.
1 function fileNameList=listfilesrecursive(dirName,patternStr,maxDepth)
2 mxberry.core.checkvar(maxDepth,'fix(x)==x&&x>0');
3 if maxDepth==Inf
4  maxDepth=-1;
5 end
6 %
7 fileNameList=cell(mxberry.io.FileUtils.listFilesRecursive(dirName,...
8  patternStr,maxDepth));
function listfilesrecursive(in dirName, in patternStr, in maxDepth)
LISTFILESRECURSIVE returns a list of files with names matching a specified pattern in all the subdire...