findFileInFolder(parentFolderPath, fileExtension, varargin)
버전 1.1.0.0 (4.65 KB) 작성자:
Benjamin Pillot
Find multi-format file(s) in folder and sub-folders
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 (2026). findFileInFolder(parentFolderPath, fileExtension, varargin) (https://kr.mathworks.com/matlabcentral/fileexchange/59357-findfileinfolder-parentfolderpath-fileextension-varargin), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2015a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB Answers에서 Search Path에 대해 자세히 알아보기
