filenames(folder, varargin)

버전 1.0.0.0 (1.75 KB) 작성자: Alexander Seidel
Read filenames from a folder and filter by conditions
다운로드 수: 26
업데이트 날짜: 2017/8/15

라이선스 보기

Read filenames from a folder and output a cell with all names matching the conditions set in varargin.
Set conditions as strings, and the resulting cell will only contain file names including all of these as substrings.
Set conditions starting with '/', and the resulting cell will only contain file names excluding all of these as subtrings.
Folders and foldernames are ignored.
EXAMPLE:

files = filenames('logs', '.txt', '/test', '/practice')

Search for files in the subfolder 'logs' and creates a cell with all filenames containing the substring '.txt' and missing substrings 'test' and 'practice'.

인용 양식

Alexander Seidel (2026). filenames(folder, varargin) (https://kr.mathworks.com/matlabcentral/fileexchange/64132-filenames-folder-varargin), MATLAB Central File Exchange. 검색 날짜: .

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