Recursively search for files

バージョン (1.92 KB) 作成者: Matt Tearle
Recursively finds all instances of files and folders with a naming pattern

ダウンロード 480 件

更新 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 (2022). Recursively search for files (, MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2016a
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!