Search data in cell array from disk?
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Structures 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!