findfiles
No License
This function finds all files with a specified extension in a directory and all subdirectories. The file names are returned as a cell array of the fully specified path to the file.
There is also an option to turn off the recursive search of subdirectories.
This has been tested under MATLAB 6, Release 12
Cite As
Tony Christney (2024). findfiles (https://www.mathworks.com/matlabcentral/fileexchange/172-findfiles), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: findFiles, GetExtension, Another recursive find file
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |