filenames(folder, varargin)
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 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
태그
| 버전 | 게시됨 | 릴리스 정보 | |
|---|---|---|---|
| 1.0.0.0 |
