Recursive Directory Searching for Multiple File Specs
Searches a directory for multiple file specs with optional recursivity
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Editor's Note: This file was selected as MATLAB Central Pick of the Week
Cite As
Jonathan Sullivan (2026). Recursive Directory Searching for Multiple File Specs (https://www.mathworks.com/matlabcentral/fileexchange/40016-recursive-directory-searching-for-multiple-file-specs), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.7.0 (5.69 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.7.0 | Increased the maximum number of filterspecs the MEX file can take from 20 to 10,000. |
||
| 1.6.0 | Fixed minor bug in the non-recursive MEX implementation |
||
| 1.5.0 | Modified memory management in the MEX file to allow for a smaller footprint. |
||
| 1.4.0 | Added a MEX implementation for Windows users. |
||
| 1.3.0 | Fixed an issue that caused dir2 to exceed recursion limit in older versions of MATLAB. |