Hi
I'm hoping that someone can help me with a MarsBar error. I'm using MarsBar on SPM 5. I've created two functional ROIs and (after resetting the filepath several times!) got it to accept the SPM.MAT design file. However when I run the EstimateResults function under 'Results' I get the following error in MATLAB.
Initialising parameters : ...computing Index exceeds matrix dimensions.
Error in ==> spdiags at 114
a((len(k)+1):len(k+1),:) = [i i+d(k) B(i+(m>=n)*d(k),k)];
Error in ==> pr_estimate at 128
s = spdiags(1./sqrt(diag(s)),0,nScan,nScan);
Error in ==> pr_estimate at 345
SPM = pr_estimate(SPM,marsY);
Error in ==> mardo_5.estimate at 72
SPM = pr_estimate(SPM, marsY);
Error in ==> marsbar at 1296
marsRes = estimate(marsD, marsY, struct(...
Error in ==> spm at 831
evalin('base',CBs{v-1})
??? Error while evaluating uicontrol Callback
The error comes after it has calculated 19 REML_Interactions. If I run the 'Estimate Results' for the other ROI I've created the error comes up after the 2nd REML_Interaction calculation
|