필터 지우기
필터 지우기

xlsread: Not enough storage is available to complete this operation

조회 수: 3 (최근 30일)
Peter
Peter 2012년 6월 28일
편집: Walter Roberson 2016년 6월 29일
Hi all
I am attempting to import a spreadsheet into MATLAB which is apporximately 200MB in size. When I use xlsread I get the following message:
Invoke Error, Dispatch Exception: Not enough storage is available to complete this operation.
Error in xlsreadCOM (line 64)
rawData = DataRange.Value;
Error in xlsread (line 230)
[numericData, textData, rawData, customOutput] = xlsreadCOM(file, sheet, range, Excel,
customFun);
Is this a limitation on the size of file which MATLAB can read or is it a hardware limitation?
Thanks
Peter
  댓글 수: 1
Walter Roberson
Walter Roberson 2012년 6월 28일
Sounds like you just don't have enough free memory. Make sure you have cleared variables you do not need anymore.

댓글을 달려면 로그인하십시오.

채택된 답변

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.

추가 답변 (1개)

Evan
Evan 2013년 3월 8일
I don't know whether my experience can help or not, but I was having that problem one day. I have just 2710 rows of data but still get that error. I was thinking maybe xlsread thinks some of my cells below Row 2710 (till 100k rows which are blank) and continues reading until the end of excel. So I delete all of the rows below and problem solved

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by