Dear SPM list
I'm hoping you can help me with an error I am getting using the MarsBaR toolbox on Mac OS X.
I am trying to to extract mean parameter estimates for an aal pick atlas mask. I have tried doing this on Matlab R2010a (32bit) & R2012a (64bit) on Mac OS X 10.8, SPM8, marsbar 0.43 and it generates the following error
SPM present working directory:
~/Documents/MATLAB
marsbar
MarsBaR analysis functions prepended to path
Loaded MarsBaR defaults from base defaults
Design reporting : ...done
Fetching data : 1/1 Error using spm_sample_vol
Cant open image file.
Error in maroi/getdata (line 104)
data = spm_sample_vol(data_imgs(i), ixyz(1,:),ixyz(2,:),ixyz(3,:),holdval);
Error in maroi/get_marsy (line 76)
[y vals vXYZ mat] = getdata(o, VY);
Error in marsbar (line 989)
marsY = get_marsy(o{:}, VY, sumfunc, 'v');
Error in spm (line 1015)
evalin('base',CB)
Error while evaluating uicontrol Callback
So it seems fine with setting the design from a file but fails when you try the 'extract ROI (default) option'
I have tried running the same on a Windows XP VM and on a Windows XP PC and it works, so i'm guessing theres something Mac specific that needs setting up
Has anyone else experienced this or even better found a solution
Let me know if you need any more info from me and thank you in advance for your help,
Patricia
|