フィルターのクリア

Moving a folder

21 ビュー (過去 30 日間)
Baba
Baba 2011 年 11 月 9 日
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 日
movefile(DataFolder,['../' DataFolder])
  1 件のコメント
Baba
Baba 2011 年 11 月 9 日
lifesaver

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Types についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by