Problem while running a code
1 view (last 30 days)
Show older comments
Hii Everyone.
While running a code ,I am getting a specific error.Could anyone help me to find the find the answer?
"Requested 42303x42303 (13.3GB) array exceeds maximum array size preference. Creation of arrays greater than this limit may take a long time and cause MATLAB to become unresponsive. See array size limit or preference panel for more information."
3 Comments
DGM
on 15 Apr 2021
It would be helpful if you posted the code that is causing the error. If you don't intend to be creating an array that large, then your problem is in the code. If you do intend to create such a large array and don't have the memory to spare, consider seeing if your problem can either be solved in chunks or using a narrower numeric class.
Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!