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 Center および File ExchangePrinting and Saving についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by