Borrar filtros
Borrar filtros

how to resolve this error shown in command window

1 visualización (últimos 30 días)
shalinee badoni
shalinee badoni el 10 de Feb. de 2021
Respondida: Steven Lord el 10 de Feb. de 2021

Respuestas (1)

Steven Lord
Steven Lord el 10 de Feb. de 2021
There are a couple possibilities:
  1. Modify your code so it doesn't try to make arrays that are over 5 GB in size.
  2. Change the array size limit in the Preference panel. If it was set to limit the maximum array size to something less than 100% of the memory in your machine, increase the limit. If it was set to limit the max array size to 100% of memory, unset the limit. However keep the warning from the error in mind: doing this may make your code take a long time or could cause MATLAB (or your machine, if it's too busy swapping) to stop responding.
  3. If you're creating full matrices most of whose elements are 0, try using sparse matrices.
  4. If you really need to create matrices that are larger than the memory of your machine, use the large file and big data processing tools in MATLAB and/or the functionality in Parallel Computing Toolbox.

Categorías

Más información sobre Images en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by