You probably have an older version of snpm_MSC.m, which is giving you the error. You can download the updated version (ver1.3, I believe) from the SnPM web site.
Good luck!
-Satoru
________________________________________
From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]] On Behalf Of Bhismadev Chakrabarti
Sent: Friday, August 18, 2006 1:55 PM
To: [log in to unmask]
Subject: [SPM] snpm2 error message
dear SnPM experts,
i am trying to do some group level analysis with SnPM2, (Multisubject, 1 scan and 1 covariate per subject) and then choosing 100 permutations for the option that asks 'Use approx number of permutations?'
the program crashes with the following message:
>> Warning: Empty matrix multiplication with unequal inner dimensions.
> In /data/bc249/my_matlab_scripts/snpm2/snpm_MSC.m at line 167
In /data/bc249/my_matlab_scripts/snpm2/snpm_ui.m at line 259
??? Error while evaluating uicontrol Callback.
??? Error using ==> +
Matrix dimensions must agree.
Error in ==> /data/bc249/my_matlab_scripts/snpm2/snpm_MSC.m
On line 171 ==> PiCond = PiCond + meshgrid((iXblk-1)*nSubj,1:nPiCond);
Error in ==> /data/bc249/my_matlab_scripts/snpm2/snpm_ui.m
On line 259 ==> eval(sDesFile);
would be very grateful for any help/suggestions!
many thanks,
bhisma
_______________________________
Bhismadev Chakrabarti
Department of Psychiatry
University of Cambridge
Cambridge, UK
|