Dear Benjamin,
This function only works with models that have been estimated.
The field DCM.Ep contains the estimated parameters (the posterior mean).
So, either estimate a model or set this field yourself eg. to create
whatever values of intrinsic, modulatory, input connections, etc you like
DCM.Ep.A= ...
DCM.Ep.B= ...
The field DCM.Ep should have the same format as the prior (DCM.pE - p
before E hence prior !)
Best,
Will.
On 10/11/2010 11:48, Benjamin Seeber wrote:
> Dear all,
> I have a problem with spm_dcm_create. I use SPM8 (newest
> version{updated}). First I start with spm_dcm_create the gui, then I
> take all the necessary clicks. After pressing the Done-button, I get the
> following error code in Matlab: Are there any possible solution?
>
> />> spm_dcm_create/
> /??? Reference to non-existent field 'Ep'./
> /
> /
> /Error in ==> spm_dcm_generate at 44/
> /eigval = eig(DCM.Ep.A);/
> /
> /
> /Error in ==> spm_dcm_create at 301/
> /spm_dcm_generate(['DCM_' syn_model],source_model,SNR);/
> /
> /
> /Are there any possible solution?/
> /Thanks for answers./
--
William D. Penny
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
Tel: 020 7833 7475
FAX: 020 7813 1420
Email: [log in to unmask]
URL: http://www.fil.ion.ucl.ac.uk/~wpenny/
|