我想将442个三维图像保存在一个单元阵列中。在存储过程中,发生内存不足错误。为了解决此问题,我使用了“高”数组,但该错误未解决。
代码:
for person = 3 : length(Files)
...
Final_Output{person-2, 1} = tall(Diam_Obj_Remove);
end
% In each iteration, "Diam_Obj_Remove" is a 3D-image. After 75 iterations the following error occurs.
错误:
out of memory. type help memory for your options.
如何解决以上错误?