image thumbnail

Another recursive find file

version (2.18 KB) by Azim
A recursive search for files with path name matching a wildcard or regular expression pattern.


Updated 27 Jan 2012

View License

Function searches a path recursively for file names matching either a wildcard expression (for example 'images*.*') or a regular expression (for example 'images[0-9].*\.*'). The function returns a cell array of the full path to each file matching the given pattern.

Cite As

Azim (2022). Another recursive find file (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: findfiles

Community Treasure Hunt

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

Start Hunting!