Hi, I would like to save a figure as a mat file to a different folder other then the current folder. Simpfied code:
str = sort(get(findobj(0,'Type','figure'),'name')); [s,v] = listdlg('PromptString','Select a file:',... 'SelectionMode','single',... 'ListString',str); fig = handle2struct(figure(s)); save('Path to the folder',fig)
I've tried save(['Path'],fig) etc but nothing worked
Thank you
Best Answer