error saving figure as .tiff

조회 수: 1 (최근 30일)
Antonino
Antonino 2024년 3월 3일
댓글: Antonino 2024년 3월 4일
Hello, when I try to save a figure with 300 dpi resolution I get the attached error message. Other figures of the same size and resolution contained in another folder are correctly saved as .tiff. Can anyone help me please? Many thanks.
Antonino

채택된 답변

Austin M. Weber
Austin M. Weber 2024년 3월 4일
If you are using R2020a or later, try using the exportgraphics function:
fig = gcf;
exportgraphics(fig,'myFigure.tiff','Resolution',300) % .tif also works
  댓글 수: 1
Antonino
Antonino 2024년 3월 4일
It seems to work, thank you very much.
Antonino

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

추가 답변 (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