Cannot save a figure as a PNG file

21 views (last 30 days)
Wei Zhang
Wei Zhang on 14 Jul 2023
Answered: Image Analyst on 14 Jul 2023
Hello folks,
I hope you are doing well this summer!
I got an error reported when I am using "saveas" command to save a figure as a PNG file in the Linux system.

Answers (1)

Image Analyst
Image Analyst on 14 Jul 2023
exportgraphics(gcf, fileName);

Categories

Find more on Printing and Saving in Help Center and File Exchange

Tags

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!