Recursively search for files

版本 1.0.0.1 (1.9 KB) 作者: Matt Tearle
Recursively finds all instances of files and folders with a naming pattern
496.0 次下载
更新时间 2016/9/1

查看许可证

Returns a list of all files matching a given pattern (*.m, *.mat, data*.xls*, etc) that live anywhere in or below a given starting folder.
For example, >> files = findfiles('*.mat','C:\myfolder'); will find C:\myfolder\foo.mat, C:\myfolder\data.mat, C:\myfolder\mydata\data.mat, etc.

引用格式

Matt Tearle (2025). Recursively search for files (https://www.mathworks.com/matlabcentral/fileexchange/57298-recursively-search-for-files), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB 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.1

Updated license

1.0.0.0