Search data in cell array from disk?

1 次查看(过去 30 天)
Ronan
Ronan 2015-11-24
回答: Thorsten 2015-11-24
So I v got a cell array saved as a .mat file. I have been loading this into ram and using this cell array but I have been having memory issues because of its large size. So I was wondering is it possible to search this cell array without loading it to ram. Eg search a .mat file for a value stored at a cell array index without loading it. Or maybe you can load parts of it at a time.
One of the surprising things was that when you delete a loaded cell array the memory doesn't get freed up. So if you segment the cell array into chunks, each time you load and clear a cell array section the memory stays removed which of course then leads matlab to be out of memory.

回答(1 个)

Thorsten
Thorsten 2015-11-24

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by