Pass out of memory

1 次查看(过去 30 天)
Ali Shahmoradi
Ali Shahmoradi 2023-1-13
I want to calculate the solutions of some huge linear system of equations by backslash function and save the norm of solutions in a excel file, and I don't want Matlab stopped when for some cases it has "Out of Memory". Please let me know how can I solve this problem

回答(1 个)

Walter Roberson
Walter Roberson 2023-1-13
You could add more ram.
In some cases you might be able to use sparse matrices.
In some cases you might be able to use tall() arrays.
  4 个评论
Walter Roberson
Walter Roberson 2023-1-13
Huh, I did not think it was possible to catch out-of-memory, but testing I see that it is in at least some cases.
Ali Shahmoradi
Ali Shahmoradi 2023-1-14
Thanks, It worked

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Data Import from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by