error saving figure as .tiff

1 Ansicht (letzte 30 Tage)
Antonino
Antonino am 3 Mär. 2024
Kommentiert: Antonino am 4 Mär. 2024
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

Akzeptierte Antwort

Austin M. Weber
Austin M. Weber am 4 Mär. 2024
If you are using R2020a or later, try using the exportgraphics function:
fig = gcf;
exportgraphics(fig,'myFigure.tiff','Resolution',300) % .tif also works
  1 Kommentar
Antonino
Antonino am 4 Mär. 2024
It seems to work, thank you very much.
Antonino

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Printing and Saving finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by