Recursively search for files
Versione 1.0.0.1 (1,92 KB) da
Matt Tearle
Recursively finds all instances of files and folders with a naming pattern
Returns a list of all files matching a given pattern (*.m, *.mat, data*.xls*, etc) that live anywhere in or below a given starting folder.
For example, >> files = findfiles('*.mat','C:\myfolder'); will find C:\myfolder\foo.mat, C:\myfolder\data.mat, C:\myfolder\mydata\data.mat, etc.
Cita come
Matt Tearle (2024). Recursively search for files (https://www.mathworks.com/matlabcentral/fileexchange/57298-recursively-search-for-files), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2016a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su File Operations in Help Center e MATLAB Answers
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.