recursively retrieves file- or foldernames in specified directory.
Use wildcards and/or multiple inputs for directory or filefilter.
Returns filename with or without complete path or only the foldernames.
Cite As
Alexandra (2026). Listfiles (https://uk.mathworks.com/matlabcentral/fileexchange/32057-listfiles), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on File Operations in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: Files Under Folders (fuf)
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
