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])

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2011년 11월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by