Copy a file to a parent folder
조회 수: 2 (최근 30일)
이전 댓글 표시
I have a file in a subfolder that I want to copy and input into the parent folder. Is there a way to fun a script from inside the subfolder to copy the file up one level?
댓글 수: 0
답변 (2개)
Matt J
2023년 11월 10일
편집: Matt J
2023년 11월 10일
Is there a way to fun a script from inside the subfolder to copy the file up one level?
Yes, but I wonder why you think the script has to reside in the subfolder. You can run copyfile from any folder A to copy a file from any other folder B to any third folder C.
댓글 수: 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!