how to resolve maximum array sizes errors? I'm having this error

2 ビュー (過去 30 日間)
Ahmed Rageh
Ahmed Rageh 2017 年 10 月 27 日
回答済み: Walter Roberson 2017 年 10 月 27 日
Requested 1x6863847424 (51.1GB) 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

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 10 月 27 日
Install more memory on your computer. A lot more memory. Probably at least another 128 gigabytes (because once you create an array that big, chances are you are going to make at least one modified copy of it, even if only temporarily.)
... Or you could have another look at your code, and figure out whether you really need an array that big.
In some cases you might be able to use "tall arrays".

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by