Cannot Open Large .fig files

Hello,
I am creating some very large (3.6MB) .fig files. The files are plotting 41,000 x 12,500 points using imagesc.
When I click to open the files, I get:
"Error using open (line 162) Cannot read file C:/file.fig"
I am using savefig to save the figure to my computer using R2014b
I tried using my program to create smaller .fig files by only changing the imagesc size. For example:
These size CAN be opened 41,000 x 500 gives me an 290kb .fig file 41,000 x 1000 can (437kb)
These size cannot be opened: 41,000 x 5,000 - 1,500kb .fig file 41,000 x 2,000 cannot (736kb)
I followed the openfig.m file and the error that is thrown comes from the localOpenFigure -> loadFigure
if ~reuse
h = loadFigure(filename, visibleAction);
else
and it looks like loadFigure is '.p' file?
Any ideas?

1 个评论

Just want to say that this was a computer memory resource problem - I didn't have enough memory on my computer.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Printing and Saving 的更多信息

提问:

Joe
2015-3-9

评论:

Joe
2015-9-11

Community Treasure Hunt

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

Start Hunting!

Translated by