Enlist all file names in a folder and it's subfolders

This function enlist all files from given folder & it's sub-folders with given extensions
1.4K Downloads
Updated 6 May 2011

View License

This is useful function in case you want to enlist all files from a folder and it's sub-folder with given file extension list.

Input argument is the folder name with complete path as a string(e.g. '/media/Nitin/SSA/FolderName').

Output is a variable containing list of all files along with complete path.

Please give comments if any needed.

Cite As

nitin thokare (2024). Enlist all file names in a folder and it's subfolders (https://www.mathworks.com/matlabcentral/fileexchange/31343-enlist-all-file-names-in-a-folder-and-it-s-subfolders), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0