sourcePath = '.\Square_train';
targetPath = '.\Square_test';
fileList = dir(sourcePath);
for k = 3 :5: length(fileList)
movefile([sourcePath,'\',fileList(k).name],targetPath);
end
%copyfile([sourcePath,'\',fileList(k).name],targetPath)
matlab 移动(复制)文件到另一个文件夹
猜你喜欢
转载自blog.csdn.net/YeziTong/article/details/84942629
今日推荐
周排行