how to save matlab figure in format of .fig
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
sloppydisk
2018-5-14
It works fine for me, does your code have the same name as the figure? If so, try changing that.
回答(1 个)
KALYAN ACHARJYA
2018-5-14
编辑:KALYAN ACHARJYA
2018-5-14
% 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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Printing and Saving 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!