I have used a function like below.
function rough1(src,des)p = dir(fullfile(src,'*.tif'));mkdir(des);..........end
and in the command window i was calling this
- src= [uigetdir('')];
- des = uiputfile;
- rough1(src,des)I can select any folder for processing. I can select any directory for save and can give a folder name. However; it by default saves in MATLAB. As for example if I want to save this to desktop and select it, it still saves in MATLAB.