I have a .mat file saved in the -7.3 format. The content of the file is a large cell array. I am using (,) indexing to retrieve a single row:
obj = matfile('File.mat');
Data = obj.CellArray(RowNum,:);
I've done some investigating on the memory usage and when I run that command, it works, I get the line out of the cell array.
However, it takes the same amount of time as loading the .mat file into the workspace and it uses the same amount of memory. From the MATLAB help files I thought this syntax was designed to only partially load files into memory. Am I doing something incorrect or does the feature not work the way I hoped it would?
Thank you for your help.