Files Under Folders (fuf)
Editor's Note: This file was selected as MATLAB Central Pick of the Week
This function scan the folder(s) provided, and search for all files or only for those matching a wild card, specified through the * syntax.
The search can be don recursively or not and a different recursion rule can be set for each folder provided.
Depending upon an optional input argument, the function can simply return the file names or their full path.
To get the full path of a given file, FUF doesn't use the "which" command, therefore it normally works also with java function that are not loaded.
After completion, the working directory is set to the current directory at the time of the function call.
Cite As
Francesco di Pierro (2024). Files Under Folders (fuf) (https://www.mathworks.com/matlabcentral/fileexchange/1378-files-under-folders-fuf), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Mosaic generator, Listfiles, SMARTINDENT, Causal State Modeller Toolbox
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 | major bug fixed |