How the user can save his result(gui) in a folder that he wanted??
Show older comments
Hye guyz. You all here realy help me with matlab since i am a beginner. Now i know a little bit about gui in matlab. I have a question. i have a figure of gui and a save button. I did this coding:
filename = inputdlg('Please enter the name for your figures');
extensions = {'fig','bmp'};
for k = 1:length(extensions
saveas(gcf, filename{:}, extensions{k})
set(gcf,'PaperPositionMode','auto')
end
But this only can save at the folder of my gui. How i want to make the user can choose which folder that he want to save the gui in .bmg file??
Accepted Answer
More Answers (1)
Robert Cumming
on 21 Feb 2011
0 votes
see
uigetfile
where you can extract the path that the user requests.
Categories
Find more on App Building in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!