I'm saving large data array to mat file.
m = matfile('data.mat','writable',true);
m.X(1000,1000,10,50000) = nan(1,'single');
for ii = 1 : 50000
% do some computation
m.X(1:1000,1:1000,1:10,ii) = Y;
end
How can I set ChunkSize of X
to [1000,1000,1,1]?