error saving figure as .tiff

3 次查看(过去 30 天)
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

更多回答(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