Hi Ilaria
do you have any reason to believe that it isn't just out of memory? If so, there's not much to do other than get more RAM or use a different machine
cheers Bruce
On Thu, 6 Apr 2017, Ilaria Sani wrote:
Dear All,
I’m trying to load a pretty big diffusion MRI dataset (320x320x260x122).
I’m running matlab 2015a 64bit on a linux machine.
I’m using MRIread, which in turn calls load_nifti.
I’m getting the following error:
Error using +
Out of memory. Type HELP MEMORY for your options.
Error in load_nifti (line 158)
hdr.vol = hdr.vol * hdr.scl_slope + hdr.scl_inter;
Error in MRIread (line 158)
hdr = load_nifti(fspec,headeronly);
When I load half dataset (320x320x260x61) it works ok.
I tried to increase the Maximum array size in Matalb (default 1,000 - now 10,000), but I’m still getting the error.
I tried to change machine (which runs matlab 2013a on linux) and it worked fine.
I think this is due to some matlab settings.
Can anyone help?
Thanks a lot,
Ilaria
Ilaria Sani, PhD Postdoctoral Fellow, Freiwald Lab The Rockefeller University 1230 York Ave., New York, NY 10065. Phone: (212) 327 7699 Fax: (212) 327 7698 Email: isani01@rockefeller.edu