Auto-process all files in sub-folders

Version 1.0.0.0 (1.99 KB) by Yanai
Runs user-specified function on all files in a folder
815 Downloads
Updated 15 Sep 2009

View License

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 (2024). 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 .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Images in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0