From: Evan on 21 Jul 2010 18:15 I think "imsave" is what you're looking for: http://www.mathworks.de/access/helpdesk/help/toolbox/images/imsave.html "Kyle Coogan" <coogs08(a)gmail.com> wrote in message <hqq8qs$e2e$1(a)fred.mathworks.com>... > I'm looking for a way to get a user interface save dialog identical to the one displayed when using 'uisave' except I want it to be able to save the current figure to any supported image format. > > To clarify, I have a stand-alone application, and I'm trying to build my own toolbar for the figure containing the plot. Basically, I want to implement the File > Save As... feature from the default MATLAB figure window as a uipushbutton in my custom toolbar. > > 'uisave' only saves the variablees to a .mat file, 'save' requires a filename and provides to UI, 'uigetfile' can only get the path and filename for already existing files, and 'hgsave' also requires a filename. > > I've been looking around extensively and have run out of ideas. > > Thanks, > Kyle
|
Pages: 1 Prev: Multiple figure windows Next: Question about minimization/optimization problem |