The Export Figure Widget creates a basic toolbar button to export figures using export_fig. Pressing the button opens an inputdlg to enter options for export_fig.
The Export Figure Widget requires the external function |export_fig| created by Oliver Woodford and Yair Altman. It can be obtained from the Mathworks Central File Exchange:
See also: export_fig, vcw
Kevin Moerman (2020). Export Figure Widget (efw) (https://www.mathworks.com/matlabcentral/fileexchange/50678-export-figure-widget-efw), MATLAB Central File Exchange. Retrieved .
Thanks Yair. That sounds good.
I use this within a custom figure function (called cFigure). It has the efw widget (and also the vcw widget) loaded by default so the buttons are always there.
I think the best thing would be a gui that opens on button click with pull down options for image format etc. and options that are excluded if for instance a particular format is chosen. This gui should also have a proper browse button to set the path etc. (browsing is now used if you leave path empty)... but I kept it simple for now :)
Nice idea! I might incorporate this idea in a future version of export_fig, it seems really useful. (I did a similar thing with my ScreenCapture utility, which has an option to install a toolbar icon).
Fixed spelling in picture
Inspired by: export_fig