Search data in cell array from disk?

1 view (last 30 days)
Ronan
Ronan on 24 Nov 2015
Answered: Thorsten on 24 Nov 2015
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.

Answers (1)

Thorsten
Thorsten on 24 Nov 2015

Categories

Find more on Structures in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!