[file,path]=uigetfile
name=fullfile(path,file) % The file name with the path
df='destination' % Your destination folder
nameF=fullfile(df,file);
copyfile(name,nameF)
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!