How to fix this error "Not enough storage is available to complete this operation"?
Mostrar comentarios más antiguos
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;
Thanks!
9 comentarios
Friedrich
el 11 de Abr. de 2013
Sounds like an out of memory either on the excel side or in the amount of data which is allowed to be transfered through COM. How big is the excel file you try to read? What is the range you want to read(so A1 to??)?
Ara
el 11 de Abr. de 2013
At least that size works for me. Can you try this:
>> xlswrite('test.xlsx',reshape(1:28*13354,[],28))
>> a = xlsread('test.xlsx');
What extension does your excel file have? What happens when you try to read a smaller range?
Jan
el 11 de Abr. de 2013
@Ara: Please post the command, which causes the problem.
the cyclist
el 11 de Abr. de 2013
@Ara, I think Friedrich just wants you to try those two lines of code. That code will create an Excel file which is the same size as yours, and then try to read it back again. He wants to see if that works.
Ara
el 11 de Abr. de 2013
Jan
el 11 de Abr. de 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
el 11 de Abr. de 2013
Respuestas (1)
Nick Haddad
el 3 de Oct. de 2014
0 votos
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.
2 comentarios
Oindrilla Dutta
el 17 de Ag. de 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?
William
el 2 de Dic. de 2020
I am having the same problem with MATLAB 2020b. Will this ever be fixed?
Categorías
Más información sobre Spreadsheets en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!