how to save matlab figure in format of .fig

조회 수: 5 (최근 30일)
MAMATHA YADAVALLI
MAMATHA YADAVALLI 2018년 5월 14일
편집: KALYAN ACHARJYA 2018년 5월 14일
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
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
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');

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by