recursiveFileList

List files with a given extension recursively

Contents

Syntax

Description

recursiveFileList(directoryList, extName) returns all the files with the given extension name within the given directory or directory list.

recursiveFileList(directoryList, extName, maxFileNumInEachDir) returns all the files with the specs, but limit the number of files per sub-directory.

Example

data=recursiveFileList([matlabroot, '/toolbox/matlab'], 'm', 1)
data = 

559x1 struct array with fields:
    name
    date
    bytes
    isdir
    datenum
    path
    parentDir


Top page   Next: qcTrain.m   Prev:simCos.m