Dear Julia,
it seems that your version of SPM8 is not up to date.
What you describe is a bug that was fixed in r4695 (March 2012) and the
fix consists in replacing l.49 of spm_uc_peakFDR.m with:
Z = min(Z, spm_read_vols(Vs(i),true));
For your convenience I also attach the latest version of this function.
Best regards,
Guillaume.
On 02/02/15 17:28, Julia Wendt wrote:
> Dear experts
>
> when trying to perform a small volume correction on a SPM from a conjunction analysis I encounter following error:
>
> ??? Error using ==> min
> MIN with two matrices to compare and a working dimension is not supported.
>
> Error in ==> spm_uc_peakFDR at 49
> Z = min(Z, spm_read_vols(Vs(i)),true);
>
> Error in ==> spm_VOI at 146
> [up, xSPM.Pp] = spm_uc_peakFDR(0.05,df,STAT,R,n,Vspm,k,u);
>
> ??? Error while evaluating uicontrol Callback
>
> Can I fix this somehow? I use SPM8 running on matlab 7.8.0 and windows XP.
>
> Every help is very much appreciated.
> All the best,
> Julia
>
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|