Dear Steffie
On Mon, Jun 6, 2011 at 5:40 PM, Steffie Tomson <[log in to unmask]> wrote:
>
> Hi All –
>
>
>
> I’m practicing DCM with the batch script for the Attention dataset (http://www.fil.ion.ucl.ac.uk/spm/data/attention/) and I’m having errors where the batch code calls spm_peb_ppi. I’m using SPM8 on CentOS operating system.
If you are interested only in DCM then you should run the DCM part of
the tutorial farther down the page. spm_peb_ppi is part of the PPI
part of the tutorial.
>
> The script calls the following line:
>
> PPI2NATT = spm_peb_ppi(fullfile(data_path,'GLM','SPM.mat'),'ppi', fullfile(data_path,'GLM','VOI_V2_1.mat '),[2 1 1],'V2xNoAtt',0);
>
> To which Matlab errors and says “Error using è spm_peb_ppi – Too many input arguments”.
>
You have an old version of spm_peb_ppi. about 1.5 years out of date.
Please update your spm installation.
>
> If I open spm_peb_ppi.m, it says specifically that it only accepts one input; spm_peb_ppi(SPM). SPM here refers to the SPM variable which ultimately gets saved as the SPM.mat file. If I do as the program says and run ‘spm_peb_ppi(SPM)’, it comes up with a GUI where I input these options. This would be fine, but I’m planning to run DCM on many individuals so it’s not practical.
I think you are confusing dcm and ppi. Please see the manual, chapter
32 for DCM and chapter 33 for PPI.
Regards,
Darren
>
> Apologies if I’m repeating a question, but my queries of the listserv haven’t resolved this particular issue. Has anyone else run into this particular problem and come up with a solution?
>
>
>
> Steffie
|