how to save matlab figure in format of .fig

5 vues (au cours des 30 derniers jours)
MAMATHA YADAVALLI
MAMATHA YADAVALLI le 14 Mai 2018
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
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.

Connectez-vous pour commenter.

Réponses (1)

KALYAN ACHARJYA
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');

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by