フィルターのクリア

Error: Not enough storage is available to complete this operation. Any ideas on overcoming this issue

1 回表示 (過去 30 日間)
I get this error when reading in data of 352475 x 9 array from excel. Anyone encountered this before and maybe can give any advice?
??? Error: Not enough storage is available to complete this operation.
Error in ==> xlsread at 310 rawData = DataRange.Value;
Error in ==> subSiteData>pushbutton9_Callback at 221 [num, txt, raw] = xlsread(fname);
Error in ==> gui_mainfcn at 96 feval(varargin{:});
Error in ==> subSiteData at 42 gui_mainfcn(gui_State, varargin{:});
Error in ==> @(hObject,eventdata)subSiteData('pushbutton9_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback
>>

回答 (3 件)

Jan
Jan 2013 年 4 月 4 日
The imported array would need 25'378'200 Bytes, what does not seem to be too large for modern computers. I'd expect the message "Out of memory", when a copy of the array is not possible. So do you find any relevant information in the code, most of all the line 310 of xlsread?
  1 件のコメント
Al-Mansoor
Al-Mansoor 2013 年 4 月 5 日
Hi Jan & Walter, Yes I have encountered the "out of memory" issue for other routines when attempting to use cell arrays. Strangely, I have run the code this morning and no error has been given on this occasion. Ill keep people posted if I get any developments. Thanks for the replies.

サインインしてコメントする。


Walter Roberson
Walter Roberson 2013 年 4 月 4 日
The file is too big to read into your remaining memory.

Nick Haddad
Nick Haddad 2014 年 10 月 3 日
This issue is a known bug in MATLAB and has been addressed in the following bug report:
The bug report has a workaround which you can install for MATLAB R2013a through R2014b.

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by