From: Kyle Coogan on
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