Dear SPMers,
I'm trying to apply the processing stages explained in the manual of
spm8 (p 452) to my own fmri datas.
However, I found some outside activations after some first level
analysis (see 1stlvl.png).
Did I made a mistake in the batch (see batch pm_job.m) ?
Thanks,
O.A.
%-----------------------------------------------------------------------
% Job configuration created by cfg_util (rev $Rev: 4252 $)
%-----------------------------------------------------------------------
matlabbatch{1}.cfg_basicio.cfg_named_dir.name = 'Subject directory';
matlabbatch{1}.cfg_basicio.cfg_named_dir.dirs = {{'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\'}};
matlabbatch{2}.cfg_basicio.cfg_cd.dir(1) = cfg_dep;
matlabbatch{2}.cfg_basicio.cfg_cd.dir(1).tname = 'Directory';
matlabbatch{2}.cfg_basicio.cfg_cd.dir(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{2}.cfg_basicio.cfg_cd.dir(1).tgt_spec{1}(1).value = 'dir';
matlabbatch{2}.cfg_basicio.cfg_cd.dir(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{2}.cfg_basicio.cfg_cd.dir(1).tgt_spec{1}(2).value = 'e';
matlabbatch{2}.cfg_basicio.cfg_cd.dir(1).sname = 'Named Directory Selector: Subject directory(1)';
matlabbatch{2}.cfg_basicio.cfg_cd.dir(1).src_exbranch = substruct('.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{2}.cfg_basicio.cfg_cd.dir(1).src_output = substruct('.','dirs', '{}',{1});
matlabbatch{3}.cfg_basicio.cfg_mkdir.parent(1) = cfg_dep;
matlabbatch{3}.cfg_basicio.cfg_mkdir.parent(1).tname = 'Parent Directory';
matlabbatch{3}.cfg_basicio.cfg_mkdir.parent(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{3}.cfg_basicio.cfg_mkdir.parent(1).tgt_spec{1}(1).value = 'dir';
matlabbatch{3}.cfg_basicio.cfg_mkdir.parent(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{3}.cfg_basicio.cfg_mkdir.parent(1).tgt_spec{1}(2).value = 'e';
matlabbatch{3}.cfg_basicio.cfg_mkdir.parent(1).sname = 'Named Directory Selector: Subject directory(1)';
matlabbatch{3}.cfg_basicio.cfg_mkdir.parent(1).src_exbranch = substruct('.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{3}.cfg_basicio.cfg_mkdir.parent(1).src_output = substruct('.','dirs', '{}',{1});
matlabbatch{3}.cfg_basicio.cfg_mkdir.name = 'categorical';
%%
matlabbatch{4}.spm.spatial.realign.estwrite.data = {
{
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x001.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x002.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x003.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x004.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x005.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x006.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x007.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x008.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x009.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x010.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x011.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x012.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x013.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x014.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x015.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x016.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x017.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x018.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x019.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x020.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x021.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x022.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x023.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x024.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x025.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x026.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x027.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x028.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x029.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x030.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x031.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x032.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x033.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x034.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x035.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x036.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x037.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x038.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x039.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x040.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x041.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x042.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x043.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x044.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x045.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x046.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x047.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x048.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x049.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x050.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x051.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x052.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x053.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x054.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x055.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x056.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x057.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x058.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x059.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x060.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x061.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x062.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x063.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x064.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x065.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x066.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x067.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x068.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x069.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x070.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x071.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x072.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x073.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x074.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x075.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x076.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x077.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x078.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x079.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x080.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x081.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x082.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x083.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x084.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x085.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x086.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x087.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x088.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x089.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x090.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x091.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x092.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x093.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x094.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x095.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x096.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x097.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x098.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x099.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x100.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x101.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x102.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x103.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x104.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x105.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x106.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x107.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x108.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x109.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x110.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x111.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x112.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x113.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x114.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x115.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x116.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x117.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x118.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x119.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x120.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x121.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x122.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x123.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x124.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x125.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x126.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x127.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x128.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x129.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x130.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x131.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x132.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x133.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x134.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x135.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x136.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x137.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x138.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x139.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x140.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x141.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x142.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x143.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x144.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x145.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x146.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x147.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x148.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x149.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x150.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x151.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x152.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x153.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x154.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x155.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x156.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x157.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x158.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x159.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x160.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x161.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x162.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x163.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x164.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x165.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x166.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x167.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x168.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x169.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x170.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x171.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x172.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x173.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x174.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x175.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x176.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x177.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x178.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x179.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x180.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x181.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x182.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x183.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x184.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x185.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x186.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x187.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x188.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x189.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x190.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x191.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x192.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x193.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x194.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x195.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x196.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x197.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x198.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x199.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x200.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x201.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x202.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x203.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x204.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x205.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x206.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x207.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x208.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x209.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x210.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x211.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x212.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x213.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x214.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x215.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x216.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x217.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x218.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x219.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x220.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x221.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x222.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x223.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x224.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x225.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x226.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x227.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x228.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x229.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x230.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x231.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x232.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x233.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x234.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x235.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x236.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x237.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x238.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x239.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x240.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x241.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x242.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x243.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x244.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x245.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x246.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x247.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x248.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x249.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x250.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x251.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x252.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x253.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x254.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x255.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x256.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x257.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x258.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x259.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x260.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x261.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x262.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x263.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x264.img,1'
'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\2-INITIALES\S1_6_1x265.img,1'
}
}';
%%
matlabbatch{4}.spm.spatial.realign.estwrite.eoptions.quality = 0.9;
matlabbatch{4}.spm.spatial.realign.estwrite.eoptions.sep = 4;
matlabbatch{4}.spm.spatial.realign.estwrite.eoptions.fwhm = 5;
matlabbatch{4}.spm.spatial.realign.estwrite.eoptions.rtm = 1;
matlabbatch{4}.spm.spatial.realign.estwrite.eoptions.interp = 2;
matlabbatch{4}.spm.spatial.realign.estwrite.eoptions.wrap = [0 0 0];
matlabbatch{4}.spm.spatial.realign.estwrite.eoptions.weight = '';
matlabbatch{4}.spm.spatial.realign.estwrite.roptions.which = [2 1];
matlabbatch{4}.spm.spatial.realign.estwrite.roptions.interp = 4;
matlabbatch{4}.spm.spatial.realign.estwrite.roptions.wrap = [0 0 0];
matlabbatch{4}.spm.spatial.realign.estwrite.roptions.mask = 1;
matlabbatch{4}.spm.spatial.realign.estwrite.roptions.prefix = 'r';
matlabbatch{5}.spm.temporal.st.scans{1}(1) = cfg_dep;
matlabbatch{5}.spm.temporal.st.scans{1}(1).tname = 'Session';
matlabbatch{5}.spm.temporal.st.scans{1}(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{5}.spm.temporal.st.scans{1}(1).tgt_spec{1}(1).value = 'image';
matlabbatch{5}.spm.temporal.st.scans{1}(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{5}.spm.temporal.st.scans{1}(1).tgt_spec{1}(2).value = 'e';
matlabbatch{5}.spm.temporal.st.scans{1}(1).sname = 'Realign: Estimate & Reslice: Resliced Images (Sess 1)';
matlabbatch{5}.spm.temporal.st.scans{1}(1).src_exbranch = substruct('.','val', '{}',{4}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{5}.spm.temporal.st.scans{1}(1).src_output = substruct('.','sess', '()',{1}, '.','rfiles');
matlabbatch{5}.spm.temporal.st.nslices = 32;
matlabbatch{5}.spm.temporal.st.tr = 2;
matlabbatch{5}.spm.temporal.st.ta = 1.9375;
matlabbatch{5}.spm.temporal.st.so = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32];
matlabbatch{5}.spm.temporal.st.refslice = 16;
matlabbatch{5}.spm.temporal.st.prefix = 'a';
matlabbatch{6}.spm.spatial.coreg.estimate.ref(1) = cfg_dep;
matlabbatch{6}.spm.spatial.coreg.estimate.ref(1).tname = 'Reference Image';
matlabbatch{6}.spm.spatial.coreg.estimate.ref(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{6}.spm.spatial.coreg.estimate.ref(1).tgt_spec{1}(1).value = 'image';
matlabbatch{6}.spm.spatial.coreg.estimate.ref(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{6}.spm.spatial.coreg.estimate.ref(1).tgt_spec{1}(2).value = 'e';
matlabbatch{6}.spm.spatial.coreg.estimate.ref(1).sname = 'Realign: Estimate & Reslice: Mean Image';
matlabbatch{6}.spm.spatial.coreg.estimate.ref(1).src_exbranch = substruct('.','val', '{}',{4}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{6}.spm.spatial.coreg.estimate.ref(1).src_output = substruct('.','rmean');
matlabbatch{6}.spm.spatial.coreg.estimate.source = {'C:\Lanfig_REC_PAR - Copie\24-S1-LANFIG\Anat axiale\S1_5_1.img,1'};
matlabbatch{6}.spm.spatial.coreg.estimate.other = {''};
matlabbatch{6}.spm.spatial.coreg.estimate.eoptions.cost_fun = 'nmi';
matlabbatch{6}.spm.spatial.coreg.estimate.eoptions.sep = [4 2];
matlabbatch{6}.spm.spatial.coreg.estimate.eoptions.tol = [0.02 0.02 0.02 0.001 0.001 0.001 0.01 0.01 0.01 0.001 0.001 0.001];
matlabbatch{6}.spm.spatial.coreg.estimate.eoptions.fwhm = [7 7];
matlabbatch{7}.spm.spatial.preproc.data(1) = cfg_dep;
matlabbatch{7}.spm.spatial.preproc.data(1).tname = 'Data';
matlabbatch{7}.spm.spatial.preproc.data(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{7}.spm.spatial.preproc.data(1).tgt_spec{1}(1).value = 'image';
matlabbatch{7}.spm.spatial.preproc.data(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{7}.spm.spatial.preproc.data(1).tgt_spec{1}(2).value = 'e';
matlabbatch{7}.spm.spatial.preproc.data(1).sname = 'Coregister: Estimate: Coregistered Images';
matlabbatch{7}.spm.spatial.preproc.data(1).src_exbranch = substruct('.','val', '{}',{6}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{7}.spm.spatial.preproc.data(1).src_output = substruct('.','cfiles');
matlabbatch{7}.spm.spatial.preproc.output.GM = [0 0 1];
matlabbatch{7}.spm.spatial.preproc.output.WM = [0 0 1];
matlabbatch{7}.spm.spatial.preproc.output.CSF = [0 0 0];
matlabbatch{7}.spm.spatial.preproc.output.biascor = 1;
matlabbatch{7}.spm.spatial.preproc.output.cleanup = 0;
matlabbatch{7}.spm.spatial.preproc.opts.tpm = {
'C:\spm8\tpm\grey.nii'
'C:\spm8\tpm\white.nii'
'C:\spm8\tpm\csf.nii'
};
matlabbatch{7}.spm.spatial.preproc.opts.ngaus = [2
2
2
4];
matlabbatch{7}.spm.spatial.preproc.opts.regtype = 'mni';
matlabbatch{7}.spm.spatial.preproc.opts.warpreg = 1;
matlabbatch{7}.spm.spatial.preproc.opts.warpco = 25;
matlabbatch{7}.spm.spatial.preproc.opts.biasreg = 0.0001;
matlabbatch{7}.spm.spatial.preproc.opts.biasfwhm = 60;
matlabbatch{7}.spm.spatial.preproc.opts.samp = 3;
matlabbatch{7}.spm.spatial.preproc.opts.msk = {''};
matlabbatch{8}.spm.spatial.normalise.write.subj.matname(1) = cfg_dep;
matlabbatch{8}.spm.spatial.normalise.write.subj.matname(1).tname = 'Parameter File';
matlabbatch{8}.spm.spatial.normalise.write.subj.matname(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{8}.spm.spatial.normalise.write.subj.matname(1).tgt_spec{1}(1).value = 'mat';
matlabbatch{8}.spm.spatial.normalise.write.subj.matname(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{8}.spm.spatial.normalise.write.subj.matname(1).tgt_spec{1}(2).value = 'e';
matlabbatch{8}.spm.spatial.normalise.write.subj.matname(1).sname = 'Segment: Norm Params Subj->MNI';
matlabbatch{8}.spm.spatial.normalise.write.subj.matname(1).src_exbranch = substruct('.','val', '{}',{7}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{8}.spm.spatial.normalise.write.subj.matname(1).src_output = substruct('()',{1}, '.','snfile', '()',{':'});
matlabbatch{8}.spm.spatial.normalise.write.subj.resample(1) = cfg_dep;
matlabbatch{8}.spm.spatial.normalise.write.subj.resample(1).tname = 'Images to Write';
matlabbatch{8}.spm.spatial.normalise.write.subj.resample(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{8}.spm.spatial.normalise.write.subj.resample(1).tgt_spec{1}(1).value = 'image';
matlabbatch{8}.spm.spatial.normalise.write.subj.resample(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{8}.spm.spatial.normalise.write.subj.resample(1).tgt_spec{1}(2).value = 'e';
matlabbatch{8}.spm.spatial.normalise.write.subj.resample(1).sname = 'Slice Timing: Slice Timing Corr. Images (Sess 1)';
matlabbatch{8}.spm.spatial.normalise.write.subj.resample(1).src_exbranch = substruct('.','val', '{}',{5}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{8}.spm.spatial.normalise.write.subj.resample(1).src_output = substruct('()',{1}, '.','files');
matlabbatch{8}.spm.spatial.normalise.write.roptions.preserve = 0;
matlabbatch{8}.spm.spatial.normalise.write.roptions.bb = [-78 -112 -50
78 76 85];
matlabbatch{8}.spm.spatial.normalise.write.roptions.vox = [2 2 2];
matlabbatch{8}.spm.spatial.normalise.write.roptions.interp = 1;
matlabbatch{8}.spm.spatial.normalise.write.roptions.wrap = [0 0 0];
matlabbatch{8}.spm.spatial.normalise.write.roptions.prefix = 'w';
matlabbatch{9}.spm.spatial.smooth.data(1) = cfg_dep;
matlabbatch{9}.spm.spatial.smooth.data(1).tname = 'Images to Smooth';
matlabbatch{9}.spm.spatial.smooth.data(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{9}.spm.spatial.smooth.data(1).tgt_spec{1}(1).value = 'image';
matlabbatch{9}.spm.spatial.smooth.data(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{9}.spm.spatial.smooth.data(1).tgt_spec{1}(2).value = 'e';
matlabbatch{9}.spm.spatial.smooth.data(1).sname = 'Normalise: Write: Normalised Images (Subj 1)';
matlabbatch{9}.spm.spatial.smooth.data(1).src_exbranch = substruct('.','val', '{}',{8}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{9}.spm.spatial.smooth.data(1).src_output = substruct('()',{1}, '.','files');
matlabbatch{9}.spm.spatial.smooth.fwhm = [8 8 8];
matlabbatch{9}.spm.spatial.smooth.dtype = 0;
matlabbatch{9}.spm.spatial.smooth.im = 0;
matlabbatch{9}.spm.spatial.smooth.prefix = 's';
matlabbatch{10}.spm.stats.fmri_spec.dir(1) = cfg_dep;
matlabbatch{10}.spm.stats.fmri_spec.dir(1).tname = 'Directory';
matlabbatch{10}.spm.stats.fmri_spec.dir(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{10}.spm.stats.fmri_spec.dir(1).tgt_spec{1}(1).value = 'dir';
matlabbatch{10}.spm.stats.fmri_spec.dir(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{10}.spm.stats.fmri_spec.dir(1).tgt_spec{1}(2).value = 'e';
matlabbatch{10}.spm.stats.fmri_spec.dir(1).sname = 'Make Directory: Make Directory ''categorical''';
matlabbatch{10}.spm.stats.fmri_spec.dir(1).src_exbranch = substruct('.','val', '{}',{3}, '.','val', '{}',{1});
matlabbatch{10}.spm.stats.fmri_spec.dir(1).src_output = substruct('.','dir');
matlabbatch{10}.spm.stats.fmri_spec.timing.units = 'secs';
matlabbatch{10}.spm.stats.fmri_spec.timing.RT = 2;
matlabbatch{10}.spm.stats.fmri_spec.timing.fmri_t = 32;
matlabbatch{10}.spm.stats.fmri_spec.timing.fmri_t0 = 16;
matlabbatch{10}.spm.stats.fmri_spec.sess.scans(1) = cfg_dep;
matlabbatch{10}.spm.stats.fmri_spec.sess.scans(1).tname = 'Scans';
matlabbatch{10}.spm.stats.fmri_spec.sess.scans(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{10}.spm.stats.fmri_spec.sess.scans(1).tgt_spec{1}(1).value = 'image';
matlabbatch{10}.spm.stats.fmri_spec.sess.scans(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{10}.spm.stats.fmri_spec.sess.scans(1).tgt_spec{1}(2).value = 'e';
matlabbatch{10}.spm.stats.fmri_spec.sess.scans(1).sname = 'Smooth: Smoothed Images';
matlabbatch{10}.spm.stats.fmri_spec.sess.scans(1).src_exbranch = substruct('.','val', '{}',{9}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{10}.spm.stats.fmri_spec.sess.scans(1).src_output = substruct('.','files');
matlabbatch{10}.spm.stats.fmri_spec.sess.cond(1).name = 'LITT';
%%
matlabbatch{10}.spm.stats.fmri_spec.sess.cond(1).onset = [4.09
26.32
67.81
80.26
100.58
110.16
143.27
178.96
189.12
200.75
221.57
231.63
243.02
262.43
296.41
325.9
345.41
353.75
364.96
430.53
462.88
472.84
493.5
505.74];
%%
matlabbatch{10}.spm.stats.fmri_spec.sess.cond(1).duration = 0;
matlabbatch{10}.spm.stats.fmri_spec.sess.cond(1).tmod = 0;
matlabbatch{10}.spm.stats.fmri_spec.sess.cond(1).pmod = struct('name', {}, 'param', {}, 'poly', {});
matlabbatch{10}.spm.stats.fmri_spec.sess.cond(2).name = 'META';
%%
matlabbatch{10}.spm.stats.fmri_spec.sess.cond(2).onset = [15.09
37.09
48.71
58.02
91.55
121.91
132.72
155.97
166.69
210.81
252.35
273.93
285.02
306.3
317.23
335.17
376.62
386.15
397.09
408.39
419.53
441.46
453.36
483.67];
%%
matlabbatch{10}.spm.stats.fmri_spec.sess.cond(2).duration = 0;
matlabbatch{10}.spm.stats.fmri_spec.sess.cond(2).tmod = 0;
matlabbatch{10}.spm.stats.fmri_spec.sess.cond(2).pmod = struct('name', {}, 'param', {}, 'poly', {});
matlabbatch{10}.spm.stats.fmri_spec.sess.cond(3).name = 'CROIX';
%%
matlabbatch{10}.spm.stats.fmri_spec.sess.cond(3).onset = [0
8.86
19.85
31.08
41.85
53.47
62.79
72.58
85.02
96.32
105.35
114.23
126.67
137.56
148.03
160.74
171.46
183.72
193.89
205.51
215.57
226.62
236.39
247.78
257.12
266.91
278.7
289.78
301.17
311.06
322
330.67
339.93
350.16
358.52
370.14
381.38
390.92
401.86
413.16
424.3
435.29
446.23
458.15
467.65
477.61
488.43
498.27];
%%
matlabbatch{10}.spm.stats.fmri_spec.sess.cond(3).duration = 0;
matlabbatch{10}.spm.stats.fmri_spec.sess.cond(3).tmod = 0;
matlabbatch{10}.spm.stats.fmri_spec.sess.cond(3).pmod = struct('name', {}, 'param', {}, 'poly', {});
matlabbatch{10}.spm.stats.fmri_spec.sess.multi = {''};
matlabbatch{10}.spm.stats.fmri_spec.sess.regress = struct('name', {}, 'val', {});
matlabbatch{10}.spm.stats.fmri_spec.sess.multi_reg(1) = cfg_dep;
matlabbatch{10}.spm.stats.fmri_spec.sess.multi_reg(1).tname = 'Multiple regressors';
matlabbatch{10}.spm.stats.fmri_spec.sess.multi_reg(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{10}.spm.stats.fmri_spec.sess.multi_reg(1).tgt_spec{1}(1).value = 'mat';
matlabbatch{10}.spm.stats.fmri_spec.sess.multi_reg(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{10}.spm.stats.fmri_spec.sess.multi_reg(1).tgt_spec{1}(2).value = 'e';
matlabbatch{10}.spm.stats.fmri_spec.sess.multi_reg(1).sname = 'Realign: Estimate & Reslice: Realignment Param File (Sess 1)';
matlabbatch{10}.spm.stats.fmri_spec.sess.multi_reg(1).src_exbranch = substruct('.','val', '{}',{4}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{10}.spm.stats.fmri_spec.sess.multi_reg(1).src_output = substruct('.','sess', '()',{1}, '.','rpfile');
matlabbatch{10}.spm.stats.fmri_spec.sess.hpf = 128;
matlabbatch{10}.spm.stats.fmri_spec.fact = struct('name', {}, 'levels', {});
matlabbatch{10}.spm.stats.fmri_spec.bases.hrf.derivs = [0 0];
matlabbatch{10}.spm.stats.fmri_spec.volt = 1;
matlabbatch{10}.spm.stats.fmri_spec.global = 'None';
matlabbatch{10}.spm.stats.fmri_spec.mask = {''};
matlabbatch{10}.spm.stats.fmri_spec.cvi = 'AR(1)';
matlabbatch{11}.spm.stats.fmri_est.spmmat(1) = cfg_dep;
matlabbatch{11}.spm.stats.fmri_est.spmmat(1).tname = 'Select SPM.mat';
matlabbatch{11}.spm.stats.fmri_est.spmmat(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{11}.spm.stats.fmri_est.spmmat(1).tgt_spec{1}(1).value = 'mat';
matlabbatch{11}.spm.stats.fmri_est.spmmat(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{11}.spm.stats.fmri_est.spmmat(1).tgt_spec{1}(2).value = 'e';
matlabbatch{11}.spm.stats.fmri_est.spmmat(1).sname = 'fMRI model specification: SPM.mat File';
matlabbatch{11}.spm.stats.fmri_est.spmmat(1).src_exbranch = substruct('.','val', '{}',{10}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{11}.spm.stats.fmri_est.spmmat(1).src_output = substruct('.','spmmat');
matlabbatch{11}.spm.stats.fmri_est.method.Classical = 1;
matlabbatch{12}.spm.stats.con.spmmat(1) = cfg_dep;
matlabbatch{12}.spm.stats.con.spmmat(1).tname = 'Select SPM.mat';
matlabbatch{12}.spm.stats.con.spmmat(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{12}.spm.stats.con.spmmat(1).tgt_spec{1}(1).value = 'mat';
matlabbatch{12}.spm.stats.con.spmmat(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{12}.spm.stats.con.spmmat(1).tgt_spec{1}(2).value = 'e';
matlabbatch{12}.spm.stats.con.spmmat(1).sname = 'Model estimation: SPM.mat File';
matlabbatch{12}.spm.stats.con.spmmat(1).src_exbranch = substruct('.','val', '{}',{11}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{12}.spm.stats.con.spmmat(1).src_output = substruct('.','spmmat');
matlabbatch{12}.spm.stats.con.consess{1}.tcon.name = 'LITT';
matlabbatch{12}.spm.stats.con.consess{1}.tcon.convec = 1;
matlabbatch{12}.spm.stats.con.consess{1}.tcon.sessrep = 'none';
matlabbatch{12}.spm.stats.con.consess{2}.tcon.name = 'META';
matlabbatch{12}.spm.stats.con.consess{2}.tcon.convec = [0 1];
matlabbatch{12}.spm.stats.con.consess{2}.tcon.sessrep = 'none';
matlabbatch{12}.spm.stats.con.consess{3}.tcon.name = 'CROIX';
matlabbatch{12}.spm.stats.con.consess{3}.tcon.convec = [0 0 1];
matlabbatch{12}.spm.stats.con.consess{3}.tcon.sessrep = 'none';
matlabbatch{12}.spm.stats.con.consess{4}.tcon.name = 'LITT > CROIX';
matlabbatch{12}.spm.stats.con.consess{4}.tcon.convec = [1 0 -1];
matlabbatch{12}.spm.stats.con.consess{4}.tcon.sessrep = 'none';
matlabbatch{12}.spm.stats.con.consess{5}.tcon.name = 'META > CROIX';
matlabbatch{12}.spm.stats.con.consess{5}.tcon.convec = [0 1 -1];
matlabbatch{12}.spm.stats.con.consess{5}.tcon.sessrep = 'none';
matlabbatch{12}.spm.stats.con.consess{6}.tcon.name = 'LITT > META';
matlabbatch{12}.spm.stats.con.consess{6}.tcon.convec = [1 -1];
matlabbatch{12}.spm.stats.con.consess{6}.tcon.sessrep = 'none';
matlabbatch{12}.spm.stats.con.consess{7}.tcon.name = 'META > LITT';
matlabbatch{12}.spm.stats.con.consess{7}.tcon.convec = [-1 1];
matlabbatch{12}.spm.stats.con.consess{7}.tcon.sessrep = 'none';
matlabbatch{12}.spm.stats.con.delete = 0;
matlabbatch{13}.spm.stats.results.spmmat(1) = cfg_dep;
matlabbatch{13}.spm.stats.results.spmmat(1).tname = 'Select SPM.mat';
matlabbatch{13}.spm.stats.results.spmmat(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{13}.spm.stats.results.spmmat(1).tgt_spec{1}(1).value = 'mat';
matlabbatch{13}.spm.stats.results.spmmat(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{13}.spm.stats.results.spmmat(1).tgt_spec{1}(2).value = 'e';
matlabbatch{13}.spm.stats.results.spmmat(1).sname = 'Contrast Manager: SPM.mat File';
matlabbatch{13}.spm.stats.results.spmmat(1).src_exbranch = substruct('.','val', '{}',{12}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{13}.spm.stats.results.spmmat(1).src_output = substruct('.','spmmat');
matlabbatch{13}.spm.stats.results.conspec.titlestr = '';
matlabbatch{13}.spm.stats.results.conspec.contrasts = Inf;
matlabbatch{13}.spm.stats.results.conspec.threshdesc = 'none';
matlabbatch{13}.spm.stats.results.conspec.thresh = 0.001;
matlabbatch{13}.spm.stats.results.conspec.extent = 0;
matlabbatch{13}.spm.stats.results.conspec.mask = struct('contrasts', {}, 'thresh', {}, 'mtype', {});
matlabbatch{13}.spm.stats.results.units = 1;
matlabbatch{13}.spm.stats.results.print = true;
|