Problem while running a code

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 个评论

If this error is occurring simply because your array is large, you can work around this problem by allowing MATLAB to increase maximum array size limit. You can do this by going into Environment -> Preferences -> Workspace -> MATLAB array size limit, then unchecking the box. I believe you can find additional information here.
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.
Thanks Sung Jung Cho and DGM .I have looked into it. I will solve it in chunks.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Matrix Indexing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by