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!