findfiles

This function finds all files with a specified extension in a directory and all subdirectories.

You are now following this Submission

This function finds all files with a specified extension in a directory and all subdirectories. The file names are returned as a cell array of the fully specified path to the file.

There is also an option to turn off the recursive search of subdirectories.

This has been tested under MATLAB 6, Release 12

Cite As

Tony Christney (2026). findfiles (https://www.mathworks.com/matlabcentral/fileexchange/172-findfiles), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: findFiles, GetExtension, Another recursive find file

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0