MATLAB Answers

How to fix this error "Not enough storage is available to complete this operation"?

45 views (last 30 days)
Ara on 11 Apr 2013
Commented: William on 2 Dec 2020
Hi Everyone,
Could you please help me how to overcome this error?
Error: Not enough storage is available to complete this operation.
Error in ==> xlsread at 325
rawData = DataRange.Value;


Show 6 older comments
Ara on 11 Apr 2013
Thanks to explain me. I tried and those lines gave me an empty excel file but still Matlab can not run to read the rest of the operations and again give me the above error.
Jan on 11 Apr 2013
@Ara: No, I asked for the line of code you use to call XLSWRITE. But the posted error message is revealing, that there is a problem with the Excel server. Which Excel version do you have installed?
Ara on 11 Apr 2013
@Jan: I did not call XLSWRITE in my code and I think this is the main problem that Matlab shows "not enough storage". I guess I have to write a new function and then call the other process, right? Btw, the Excel 2010 I am using.
@ Friedrich: It's ok to process all the data for 4 months but when exactly it start to read files from the fifth month then the error display.
Please let me know your suggestions?

Sign in to comment.

Answers (1)

Nick Haddad
Nick Haddad on 3 Oct 2014
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.


Oindrilla Dutta
Oindrilla Dutta on 17 Aug 2018
I am facing a similar problem when I run a Simulink model in Acceleration mode. However, the problem does not surface when I use the Normal mode. I am using MATLAB 2018a. Is there any fix for this?

Sign in to comment.


Community Treasure Hunt

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

Start Hunting!