Hi,
> I keep getting this error when I try the Export ROI option in MarsBar (see
> below).
...
> ??? Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N)
> to change the limit. Be aware that exceeding your available stack space can
> crash MATLAB and/or your computer.
> Error in ==> <a
> href="error:C:\marsBar\marsbar-0.38.2\spm2\spm_create_image.m,7,1">spm_create_image
> at 7</a>
> V = spm_create_vol(V);
This usually happens when for some reason you have marbars 'spm2'
_and_ 'spm99' subdirectories ahead of the spm directory on the matlab
path. This shouldn't happen normally, as marsbar detects which version
of spm you have when it starts, and puts _either_ the 'spm2'
subdirectory _or_ the 'spm99' subdirectory at the top of your path.
So, I would check that someone hasn't hard-cded these two
subdirectories to be on your path. If not, then try quitting matlab
and restarting, making sure you only start one SPM version in that
session, and try your test again,
Best,
Matthew
|