savefig - Save figure as FIG-file - MATLAB - MathWorks
savefig(filename) saves the current figure as a FIG-file with the specified filename. The FIG-file is stored in a compact format, and the resulting figure is compatible with MATLAB ® R2014b and later.