Hi,
When trying to preprocess my data, I'm getting an error message saying that I have an invalid contrast (see below). The error message makes it look as if the contrast manager is not reading each vector line by line, but when I look at the .mat file of my contrasts (see also below), the 26 contrasts appear in order with 13 values each since I have 13 conditions.
I'm using SPM8 and MatlabR2016a.
Thanks for your help,
Genevieve
"Running 'Contrast Manager'
Changing directory to: /Volumes/PROJET_DIFF/tau_project/perimeter/analysis/perimeter1/data/p01/StatsCombineRuns
1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 <- !invalid contrast
Failed 'Contrast Manager'
Error using spm_run_con (line 228)
Error in contrast specification
In file "/Applications/spm8/config/spm_run_con.m" (v3993), function "spm_run_con" at line 228."
contvector = [1 1 1 1 1 1 1 1 1 1 1 1 0
0 0 0 0 0 0 0 0 0 0 0 0 1
1 1 1 1 -1 -1 -1 -1 -1 -1 -1 -1 0
-1 -1 -1 -1 1 1 1 1 1 1 1 1 0
1 1 1 1 -1 -1 -1 -1 0 0 0 0 0 %5
-1 -1 -1 -1 1 1 1 1 0 0 0 0 0
1 1 1 1 0 0 0 0 -1 -1 -1 -1 0
-1 -1 -1 -1 0 0 0 0 1 1 1 1 0
0 0 0 0 1 1 1 1 -1 -1 -1 -1 0
0 0 0 0 -1 -1 -1 -1 1 1 1 1 0 %10
1 1 0 0 -1 -1 0 0 -1 -1 0 0 0
-1 -1 0 0 1 1 0 0 1 1 0 0 0
0 0 1 1 0 0 -1 -1 0 0 -1 -1 0
0 0 -1 -1 0 0 1 1 0 0 1 1 0
1 1 0 0 -1 -1 0 0 0 0 0 0 0 %15
-1 -1 0 0 1 1 0 0 0 0 0 0 0
0 0 1 1 0 0 -1 -1 0 0 0 0 0
0 0 -1 -1 0 0 1 1 0 0 0 0 0
1 1 0 0 0 0 0 0 -1 -1 0 0 0
-1 -1 0 0 0 0 0 0 1 1 0 0 0 %20
0 0 1 1 0 0 0 0 0 0 -1 -1 0
0 0 -1 -1 0 0 0 0 0 0 1 1 0
0 0 0 0 1 1 0 0 -1 -1 0 0 0
0 0 0 0 -1 -1 0 0 1 1 0 0 0
0 0 0 0 0 0 1 1 0 0 -1 -1 0 %25
0 0 0 0 0 0 -1 -1 0 0 1 1 0];
|