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. (2024). 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 |