Saving newly created folder path in a variable
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I created a folder using below code. Now I want to save the path of this new folder in other variable.
New_Folder = ['SubjectID_fig_',num2str(Subj_ID)];
mkdir('C:/Users/varunm1/Desktop/Assistments_Data/Confidence_MatFiles_Students_Labels/Results_Individual', New_Folder)
Expected output is a new variable 'New_Dir' should have C:/Users/varunm1/Desktop/Assistments_Data/Confidence_MatFiles_Students_Labels/Results_Individual/SubjectID_fig_1
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!