Hello,
I'm attempting to average ERP DCMs using spm_dcm_average and get the following error:
??? Reference to non-existent field 'Qp'.
Error in ==> spm_dcm_average at 73
m = size(DCM.Qp.C,2); % number of inputs
When I edit the code to look at DCM.C to get the number of inputs and sources (next line of
code) by editing the M file, the code stops at line 91 with the following error:
??? Index exceeds matrix dimensions.
Error in ==> spm_dcm_average at 91
mEp(:,model) = full(DCM.Ep(cwsel));
DCM.Ep is not a matrix but has fields T, H, S, A, B, C, D,and R. The models were generated using
spm8 and I'm using Matlab version R2008b. Is there something that I'm doing incorrectly?
Best
Kevin
|