how to save matlab figure in format of .fig
4 views (last 30 days)
Show older comments
i am using R2016a and trying to save figure as .fig. it saves but when i opening the figure it is open the matlab code not opening the figure.i attached saved figure below
1 Comment
sloppydisk
on 14 May 2018
It works fine for me, does your code have the same name as the figure? If so, try changing that.
Answers (1)
KALYAN ACHARJYA
on 14 May 2018
Edited: KALYAN ACHARJYA
on 14 May 2018
% try this one
figure
%disp fugure here, plot/imshow/surf etc
savefig('figureFile.fig'); % 'figureFile' save file name, you can change it.
%To open it use following
openfig('figureFile.fig');
0 Comments
See Also
Categories
Find more on Printing and Saving in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!