samplePath = '.\ALLSquare_sample_sift';
dataPath = '.\ALLSquare_sift';
fileList = dir(samplePath);
for k = 3 : length(fileList)
delete([dataPath,'\',fileList(k).name])
end
Matlab删除一文件夹中与另一文件夹相同的文件
最新推荐文章于 2023-07-12 17:52:42 发布
samplePath = '.\ALLSquare_sample_sift';
dataPath = '.\ALLSquare_sift';
fileList = dir(samplePath);
for k = 3 : length(fileList)
delete([dataPath,'\',fileList(k).name])
end