help > RE: struggling to get SampleData to work on various setups
Aug 1, 2019  03:08 AM | Sónia Ferreira
RE: struggling to get SampleData to work on various setups
Originally posted by wyl_phding:
Hi, i just got the same error as yours with gPPI

Hi there,

I'm trying to run runOnSampleData.m on Windows with SPM12 to test gPPI but I get the following error:
spmpath =

'C:\Users\sonia\Documents\MATLAB\spm12'
Log File: sampleData_Study_PPPI_8_1_2019.log
PPPI Version: 13.1.4-17-2014
Parameters used:
Processing subject: sampleData_Study
VOI file : C:\Users\sonia\Desktop\running_gPPI_generic\rmedPrecCing.nii
Output file will be: sampleData_Study_rmedPrec_session#_cond_PPI_regressors.txt
Contrast : No adjustment
Analysis : Psychophysiological Interactions
Extraction : eigenvariate
Tasks : _0_etoh_on_onsets_run1_etoh_off_onsets_run1_etoh_urge_onsets_run1_attn_on_onsets_run1_attn_off_onsets_run1_attn_urge_onsets_run1_etoh_on_onsets_run2_etoh_off_onsets_run2_etoh_urge_onsets_run2_attn_on_onsets_run2_attn_off_onsets_run2_attn_urge_onsets_run2
Method : Condition Specific
VOI has 549 voxels in 3x3x3 space
VOI has 549 voxels in 3x3x3 space. This is in the the same space as the input data and functional mask.

Operands to the || and && operators must be convertible to logical scalar values.
Error in dlmwrite (line 133)
useVectorized = realdata && precnIsNumeric && ~contains('%\',dlm) ...
Error in PPPI (line 862)
dlmwrite([P.subject '_' region1 '_session' num2str(z) '_' P.method '_PPI_regressors.txt'],[OUT.PPI.C OUT.P.C OUT.Y.C OUT.C.C],' ');
Error in runOnSampleData (line 48)
PPPI(P, [workdir filesep 'sampleData' filesep 'stats' filesep 'gPPI_sampleDataTest.mat']);

Do you know if there is a new version of runOnSampleData.m already? The one that I downloaded is from 2013, but I couldn't find other.

Thanks a lot!

Threaded View

TitleAuthorDate
O Robinson Dec 18, 2017
wyl_phding Jul 9, 2018
RE: struggling to get SampleData to work on various setups
Sónia Ferreira Aug 1, 2019
Sónia Ferreira Aug 1, 2019
Donald McLaren Jan 24, 2018
O Robinson Dec 19, 2017
Donald McLaren Dec 19, 2017
Donald McLaren Dec 19, 2017
O Robinson Dec 19, 2017
Donald McLaren Dec 19, 2017
O Robinson Dec 19, 2017
O Robinson Dec 19, 2017
Donald McLaren Dec 19, 2017
O Robinson Dec 19, 2017
Donald McLaren Dec 18, 2017
Donald McLaren Dec 18, 2017
O Robinson Dec 18, 2017
Donald McLaren Dec 18, 2017
Donald McLaren Dec 18, 2017
O Robinson Dec 18, 2017
Donald McLaren Dec 18, 2017