THE AUDITORY MODELING TOOLBOX

Applies to version: 1.1.0

View the code

Go to function

AMT_SUBDIR - Performs a recursive file search

Usage

amt_subdir
amt_subdir(name)
files = amt_subdir(...)

Input parameters

name pathname or filename for search, can be absolute or relative and wildcards (*) are allowed. If ommitted, the files in the current working directory and its child folders are returned

Output parameters

files

m x 1 structure with the following fields:

'.name' full filename

'.date' modification date timestamp

'.bytes' number of bytes allocated to the file

'.isdir' 1 if name is a directory; 0 if no

Description

This function performs a recursive file search. The input and output format is identical to the dir function.