findFileInFolder(pa​rentFolderPath, fileExtension, varargin)

버전 1.1.0.0 (4.65 KB) 작성자: Benjamin Pillot
Find multi-format file(s) in folder and sub-folders
다운로드 수: 94
업데이트 날짜: 2017/9/24

라이선스 보기

This function is an update of an old one (submitted in 2013) I decided to delete. This version is cleaner, shorter and more efficient than the previous one.
It recursively searches for specified file names and extensions (with or without respect to letter case) in a given directory and its sub-directories.
Example: findFileInFolder(pwd, {'.m', '.zip', '.mat'}) match all files with the corresponding extensions ('.m', '.zip', '.mat') in the current directory
More information in the m-file

인용 양식

Benjamin Pillot (2024). findFileInFolder(parentFolderPath, fileExtension, varargin) (https://www.mathworks.com/matlabcentral/fileexchange/59357-findfileinfolder-parentfolderpath-fileextension-varargin), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2015a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Search Path에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Make use of the regexptranslate built-in function

1.0.0.0

description
Changed regular expression for better file extension/name match