Auto-process all files in sub-folders

Runs user-specified function on all files in a folder

You are now following this Submission

User specifies processing function, types of files to run (for example *.tif), folder to run and any additional parameters.
The PathRunner scans the folder for the specified file types, and calls the processing function for each file.
Detailed syntax is described in the .m file

For example, if I want to open all images in a directory, invert them and save back, I can create a function that does that for one image and call PathRunner to process the entire folder.

Cite As

Yanai (2026). Auto-process all files in sub-folders (https://www.mathworks.com/matlabcentral/fileexchange/25316-auto-process-all-files-in-sub-folders), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Images in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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