Filter löschen
Filter löschen

how to save matlab figure in format of .fig

3 Ansichten (letzte 30 Tage)
MAMATHA YADAVALLI
MAMATHA YADAVALLI am 14 Mai 2018
Bearbeitet: KALYAN ACHARJYA am 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 Kommentar
sloppydisk
sloppydisk am 14 Mai 2018
It works fine for me, does your code have the same name as the figure? If so, try changing that.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

KALYAN ACHARJYA
KALYAN ACHARJYA am 14 Mai 2018
Bearbeitet: KALYAN ACHARJYA am 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');

Kategorien

Mehr zu Graphics Object Identification finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by