recursdir(baseDir,searchExpression)
Version 1.0.0.0 (1.18 KB) by
Jason
A recursive search to find files that match the search expression
A recursive search to find files that match the search expression (regular expression). It will walk a directory tree to find files and output them with full path name as a cell.
Cite As
Jason (2026). recursdir(baseDir,searchExpression) (https://www.mathworks.com/matlabcentral/fileexchange/56402-recursdir-basedir-searchexpression), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on File Operations in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | removed initial debugging lines |
