filehound

版本 1.0.0.0 (1.5 KB) 作者: Ronald Ouwerkerk
The M script filehound.m recursively searches directories for files matching a file filter.
2.8K 次下载
更新时间 2001/3/6

无许可证

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.

引用格式

Ronald Ouwerkerk (2024). filehound (https://www.mathworks.com/matlabcentral/fileexchange/171-filehound), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R12
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 File Operations 的更多信息
标签 添加标签
致谢

启发作品: Improved file hounding

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0