File list builds a list of files for use in batch processing. The user can select the sub-folder depth for recursion, file extensions to search for, and file name to search.
It is helpful for batch processing large number of files in various folders or sub folders.
[files,total]=file_list(pwd,'*.mat',1);
for i=1:total
data=load(files{i});
% Do stuff with data
end
引用格式
Jed F. (2025). File List (https://www.mathworks.com/matlabcentral/fileexchange/22829-file-list), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R14
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Programming > Files and Folders > File Operations >
- Parallel Computing > Parallel Computing Toolbox > Big Data Processing >
在 Help Center 和 MATLAB Answers 中查找有关 File Operations 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |