filehound
No License
The M script filehound.m recursively searches directories for files matching a file filter (e.g. '*.m') and produces a list of type cell array with all pathnames for files that match the filter. It also produces a text file with the same information. This filename is chosen with the uiputfile utility.
The list could be used to examine the contents of each file:
filelist = filehound;
for i=1:length(filelist)
fid = fopen(filelist{i}, 'r')
A = fread(fid.....
......
end
The directory names are filtered for spaces and quote characters to prevent errors in Unix environments.
Cite As
Ronald Ouwerkerk (2026). filehound (https://uk.mathworks.com/matlabcentral/fileexchange/171-filehound), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Improved file hounding
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
