List of files from directories/files list or browser
This functions goal generate a cell array of file names, needed by the calling functions. The input should be a cell array with directories including the files or files name. The function also supports input of a single directory name string, or a single file name string. In the late two cases, each file is tested for existence. Absolute file path is used thus replacing the relative path. Alternatively, the user can choose the files or directories including files using the OS explorer- by enabling the 'flagGUI' input.
Cite As
Nikolay S. (2024). List of files from directories/files list or browser (https://www.mathworks.com/matlabcentral/fileexchange/34944-list-of-files-from-directories-files-list-or-browser), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: folders sub-folders, Folders tree files list
Inspired: Mosaic generator, Files to folders based on properties, apply2VideoFrames
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.