How do i copy the content of a folder into another folder.
조회 수: 8 (최근 30일)
이전 댓글 표시
I have a folder with 5 matfiles and I want to copy these matfiles into an empty folder I have created . Please how do i go about it. Thank you
댓글 수: 0
채택된 답변
Sean de Wolski
2019년 3월 12일
doc copyfile
doc dir
doc fullfile
Use dir to get the file name and current path, fullfile to build the old and new full file paths and copyfile to copy them one at a time in a loop.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!