matlab复制文件删除文件

2020-07-15  本文已影响0人  山有木兮木有刺

% % A=[Anshun,Bijie,Duyun,Dushan,Guiyang,Libo,Liping,Luodian,Panxian,Puan,Qianxi,Renhuai,Rongjiang,Sinan,Songtao,Tianzhu,Tongren,Tongzi,Wangmo,Xingren,Zhengan,Zhijin,Zunyi,sansui];

%

% for i=1:24

%    aa=sitename{i};

%    y(i)=strcat('H:\yiruzhou\py2\', aa ,'\LTD\');

% % % mkdir(y);

% end

%%删除文件

for i=2:716

  aa =avename(i);

    y=strcat('H:\yiruzhou\py2\LTDD\', aa );

    copyfile(y,'H:\yiruzhou\py2\BEIFEN\');

  delete(y);

end

上一篇 下一篇

猜你喜欢

热点阅读