Dear Shoichi,
your problem is due to the way you call spm_dcm_U. Note that I
changed the syntax some months ago in order to make it possible to
include parametric modulations of regressors. You seem to be using a
mixture of the old and new syntax.
If you use a recent SPM5 version, the syntax for including the second
input would be
spm_dcm_U('DCM_model.mat', 'SPM', 1, {0,1});
If you use SPM2 or an older SPM5 version, the syntax for including
the second input would be
spm_dcm_U('DCM_model.mat', 'SPM', 1, [2]);
Best wishes,
Klaas
At 11:24 05/12/2006, you wrote:
>Dear DCM experts,
>
>I am in troubled with using DCM batch scripts. Our procedures are as
>follows:
>(1) We determined three ROIs (VOI_ROI_1, VOI_ROI_2, VOI_ROI_3) in subject
>X. We also set parameter (DCM_model)
>(2) The three ROIs and the 'DCM_model' were copied to the subject Y
>directory. Our experimental model is completely same as among the subjects.
>(3) spm_dcm_voi('DCM_model.mat',
>{'VOI_ROI_1.mat', 'VOI_ROI_2.mat', 'VOI_ROI_3.mat'}) ;
>(4) spm_dcm_U('DCM_model.mat','SPM',1,[0 1 0 0 0]);
>(Our experiments consisted of one session, and we involved the second
>regressor in the SPM regressor)
>(5) spm_dcm_estimate(' DCM_model.mat')
>
>I got the message of "Error in spm_dcm_U: must include 1 inputs."
>The DCM.B results were different from manually analyzed DCM.B. However, we
>confirmed the (4) and (5) being correct, that is, we do no know how to
>use 'spm_dcm_voi.m'. I tried in various situations, but I cannot succeed.
>Could me tell me what is wrong with our batch.
>
>Thank you in advance,
>
>
>Shoichi Ugai
>[log in to unmask]
>Department of system engineering
>Tokyo Metropolitan University
>Tokyo, JAPAN
|