amt_subdir amt_subdir(name) files = amt_subdir(...)
This function performs a recursive file search. The input and output format is identical to the dir function.
'',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 |
'',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 |
a = subdir(fullfile(matlabroot, 'toolbox', 'matlab', '*.mat'))
Copyright 2006 Kelly Kearney Kelly Kearney (2021). subdir: a recursive file search https://github.com/kakearney/subdir-pkg