how to save matlab figure in format of .fig
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
sloppydisk
le 14 Mai 2018
It works fine for me, does your code have the same name as the figure? If so, try changing that.
Réponses (1)
KALYAN ACHARJYA
le 14 Mai 2018
Modifié(e) : KALYAN ACHARJYA
le 14 Mai 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 commentaires
Voir également
Catégories
En savoir plus sur Printing and Saving dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!