MATLAB: How to save figure with command save image There is a save icon. So that I can save the prompted figure. But I want to know the command to save the figure to avoid clicking the save icon. Best Answer savefig('example.fig')see savefig() for more informationhttps://in.mathworks.com/matlabcentral/answers/331528-how-to-use-savefig-to-save-fig-to-a-specific-location?s_tid=answers_rc1-2_p2_MLT Related SolutionsMATLAB: How to use savefig to save .fig to a specific location You can just pre-pend the path to the filename. For example,savefig('C:\Test\test.fig') Related Question
Best Answer