Copy a file to a parent folder
7 ビュー (過去 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!