help > Stock gPPI script missing VOI2 file, where only a single VOI is unecessary
Jan 9, 2019  06:01 PM | Mark Green
Stock gPPI script missing VOI2 file, where only a single VOI is unecessary
Dear All,

I am running into this error when running a simple gPPI using the standard tutorial script (with tweaked paths) below, can you advise?
I have already tried the line 278 fix, to account for SPM12,5 and installed the spm_estimate_PPI.m patch.

Many thanks,

Mark

>> PPPI('attention_PPPI_MAT.mat')
ERROR 1: Program will exit. VOI2 file does not exist.
ERROR 2: Program will exit. VOI2 file does not a .img, .nii, or .mat file.
One or more inputs are not correct.
ERROR 1:Program will exit. VOI2 file does not exist.
ERROR 2:Program will exit. VOI2 file does not a .img, .nii, or .mat file.
errorvals saved to errorvals.mat


P.subject='Attention_Tutorial';
P.directory='/PATH/GLM/'
P.VOI= '/PATH/VOI_V2_1.mat';
P.Estimate=1;
P.contrast=0;
P.extract='eig';
P.Tasks={'1' 'Stationary' 'No-Attention' 'Attention'};
P.Weights=[];
P.analysis='psy';
P.method='cond';
P.CompContrasts=1;
P.Weighted=0;
P.Contrasts(1).left={'Attention'};
P.Contrasts(1). right={'No-Attention'};
P.Contrasts(1).STAT='T';
P.Contrasts(1).Weighted=0;
P.Contrasts(1).MinEvents=5;
P.Contrasts(1).name='Attention_minus_No-Attention';
P.Contrasts(2).left={'No-Attention'};
P.Contrasts(2).right={'Attention'};
P.Contrasts(2).STAT='T';
P.Contrasts(2).Weighted=0;
P.Contrasts(2).MinEvents=5;
P.Contrasts(2).name='No-Attention_minus_Attention';
P.Contrasts(3).left={'Attention'};
P.Contrasts(3).right={'Stationary'};
P.Contrasts(3).STAT='T';
P.Contrasts(3).Weighted=0;
P.Contrasts(3).MinEvents=5;
P.Contrasts(3).name='Attention_minus_Stationary';

Threaded View

TitleAuthorDate
Stock gPPI script missing VOI2 file, where only a single VOI is unecessary
Mark Green Jan 9, 2019
Mark Green Jan 19, 2019
Donald McLaren Jan 21, 2019
Anne Saulin Jan 16, 2019