List files/folders recursively

"select_files" and "select_files_rec" are used to list files/folders inside a chosen folder
275.0 次下载
更新时间 2013/5/28

查看许可证

USAGE:
selection = select_files(folder,pref,mid,suf,ext,type,path)
selection = select_files_rec(folder,pref,mid,suf,ext,type,fpath,levels)


INPUT:
- FOLDER: parent directory to look the files/folders in
- PREF: files/folders prefix
- MID: middle part of the files/folders
- SUF: files/folders suffix
- EXT: files extension
- TYPE: 'files' or 'folders'
- FPATH: 'path' (SELECTION will have the full path) or 'nopath' (only files/folders names)
- LEVELS: number of levels to go in recursively (0 [files/folders only from FOLDER], 1, 2, ..., Inf)

OUTPUT
- SELECTION: cell array containing the file/folder names

引用格式

Guilherme Coco Beltramini (2024). List files/folders recursively (https://www.mathworks.com/matlabcentral/fileexchange/41921-list-files-folders-recursively), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Startup and Shutdown 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Edited the description

1.0.0.0