MATLAB Answers

saving figure using top bar menu vs using saveas command

6 views (last 30 days)
Gerard Malaczynski
Gerard Malaczynski on 4 Aug 2015
Answered: Richa Gupta on 6 Aug 2015
Original figure saved with top bar menu was saved not corrupted while when using saveas(gdf,'figure name') gets corrupted
MP>>
MP>>

  0 Comments

Sign in to comment.

Answers (1)

Richa Gupta
Richa Gupta on 6 Aug 2015
Hi Gerard,
There is a difference in the way the SAVEAS function and 'File->Save As' menu item (from within the MATLAB Figure window) export files to the current directory.
The 'File->Save As' menu item uses the HGEXPORT function to export files but with the SAVEAS function one cannot specify the resolution of the exported figure. For more information, you can refer to the following link:
Hope this helps.
Richa

  0 Comments

Sign in to comment.

Tags

Products

Community Treasure Hunt

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

Start Hunting!