How to copy some files from a folder and then paste them to a another folder using matlab code(script Writting)
4 ビュー (過去 30 日間)
古いコメントを表示
I am doing some simulation, it give me output files. In those files, I want to copy some files and paste or move them to a new folder. This code has to creat a new folder every time i run, how should i write a matlab code for this.
0 件のコメント
回答 (1 件)
Arthur Roué
2020 年 7 月 29 日
編集済み: Arthur Roué
2020 年 7 月 29 日
% Folder to create
myRep = 'C:\...'
% Make new folder
mkdir(myRep)
% Copy source to destination
copyfile(SourceFile, DestinationFile)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Search Path についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!