I'd like to move a folder one directory down. DataFolder is a variable that contains the actual name of the folder. The problem is, the code that I have below '../Datafolder' creates a folder named DataFolder and not the variable name that is stored in DataFolder
movefile(DataFolder,'../DataFolder')

 採用された回答

Walter Roberson
Walter Roberson 2011 年 11 月 9 日

4 投票

movefile(DataFolder,['../' DataFolder])

1 件のコメント

Baba
Baba 2011 年 11 月 9 日
lifesaver

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by