Print

Print


Dear all,
I use Matlab 2009b with an SPM8 package set in the path. However, when I estimate DCM, the program stopped with the following error:
 
??? Undefined function or method 'diag' for input arguments of type 'cell'.
Error in ==> spm_nlsi_GN at 225
ipC   = inv(spm_cat(diag({pC,uC})));
Error in ==> spm_nlsi at 108
    [Ep,Cp,Ce,F] = spm_nlsi_GN(M,U,Y);
Error in ==> spm_dcm_estimate at 145
[Ep,Cp,Ce,H0,H1,H2,M0,M1,L1,L2,F] = spm_nlsi(M,U,Y);
Error in ==> spm_dcm_ui at 128
        spm_dcm_estimate(P{i});
 
??? Error while evaluating uicontrol Callback
 
Is this due to the incompatibility of Matlab 2009b and SPM8 package? How to solve this problem?
 
Thanks a lot.
 
Abraham