R2014b fails to save fig file from a very large plot

3 views (last 30 days)
I tried to save a very large figure but use of the default savefig gives the msg:
>> savefig('pregpsBAPS.fig') Warning: Variable 'hgS_070000' cannot be saved to a MAT-file whose version is older than 7.3. To save this variable, use the -v7.3 switch. Skipping... > In FigFile.write at 32 In C:\Program Files\MATLAB\R2014b\toolbox\matlab\graphics\savefig.p>savefig at 91
However, savefig has no '-v7.3' option by default and I couldn't locate the FigFile.write function. Also, the savefig function wasn't accessible for modification. Help would be appreciated because if I try to export the figure into any of the standard file formats it will lose too much detail and I need to transfer the file to enable exploration on other screens.

Answers (1)

Massimo Zanetti
Massimo Zanetti on 6 Oct 2016
I suggest you to use the known function downloadable at https://it.mathworks.com/matlabcentral/fileexchange/23629-export-fig to save figures of any kind.

Categories

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

Tags

Community Treasure Hunt

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

Start Hunting!