필터 지우기
필터 지우기

Matlab R2022b won't save .fig

조회 수: 13 (최근 30일)
Dominik Rohrbach
Dominik Rohrbach 2024년 2월 12일
댓글: Dominik Rohrbach 2024년 2월 14일
Hi everyone,
I'm currently experiencing an issue where Matlab won't let me save a figure as .fig. I've tried saveas, savefig or manually saving the figure. It doens't even give me an error message it just doesn't create a file.
Does anyone know why this happens or how to fix it?
  댓글 수: 4
Star Strider
Star Strider 2024년 2월 12일
I believe .fig files are saved as .mat files. Can you save .mat files?
Joe Vinciguerra
Joe Vinciguerra 2024년 2월 13일
Is it possible that your operating system is hiding .fig files?

댓글을 달려면 로그인하십시오.

채택된 답변

Steven Lord
Steven Lord 2024년 2월 12일
Let's make sure you haven't created your own savefig.m that is taking precedence over the savefig function that is part of MATLAB. What does this command show?
which -all savefig
/MATLAB/toolbox/matlab/graphics/objectsystem/savefig.m
If you see your own function ahead of the one in toolbox/matlab/graphics/objectsystem, rename your function.
  댓글 수: 1
Dominik Rohrbach
Dominik Rohrbach 2024년 2월 14일
Thank you that solved it!
I had a toolbox installed which seems to have overwritten the savefig function

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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