Filter löschen
Filter löschen

Cannot Open Large .fig files

2 Ansichten (letzte 30 Tage)
Joe
Joe am 9 Mär. 2015
Kommentiert: Joe am 11 Sep. 2015
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 Kommentar
Joe
Joe am 11 Sep. 2015
Just want to say that this was a computer memory resource problem - I didn't have enough memory on my computer.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu File Operations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by