remove_efmenu_fig(FILENAMEIN,FILENAMEOUT) removes the Ezyfit menu from
the figure file FILENAMEIN, and saves the result under FILENAMEOUT.
remove_efmenu_fig(FILENAMEIN) automatically generates the output
filename, by adding the string '_new' to the input filename.
This function fixes the issue of figure files including the Ezyfit menu
opened in a Matlab system running without the Ezyfit toolbox. See
efmenu for details.
Example
plotsample; % generate a random plot
saveas(gcf,'myfig.fig');
remove_efmenu_fig('myfig.fig');
% This generates a new file, named 'myfig_new.fig', without the menu
Acknowledgments to Francis Burton and Nicholas Sinclair, who fixed
the issue in the Matlab Central Newsgroup.
See Also
efmenu.
Published output in the Help browser
showdemo remove_efmenu_fig