subdir: a recursive file search
This function performs a recursive file search. Its advantage over other FEX programs offering the same thing is that it uses the same input and output format as Matlab's dir function, and can therefore be used interchangeably.
Example:
>> a = subdir(fullfile(matlabroot, 'toolbox', 'matlab', '*.mat'))
a =
66x1 struct array with fields:
name
date
bytes
isdir
datenum
>> a(1)
ans =
name: '/Applications/MATLAB74/toolbox/matlab/audiovideo/chirp.mat'
date: '14-Mar-2004 10:31:48'
bytes: 25276
isdir: 0
datenum: 7.3202e+05
Cita come
Kelly Kearney (2025). subdir: a recursive file search (https://github.com/kakearney/subdir-pkg), GitHub. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
subdir
Le versioni che utilizzano il ramo predefinito di GitHub non possono essere scaricate
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.1.0.0 | Linked to github repository |
|
|
1.0.0.0 | Fixed small typo in description |