%-----------------------------------------------------------------------
% Job configuration created by cfg_util (rev $Rev: 3796 $)
%-----------------------------------------------------------------------
matlabbatch{1}.cfg_basicio.cfg_named_dir.name = 'Subject directory';
matlabbatch{1}.cfg_basicio.cfg_named_dir.dirs = {'<UNDEFINED>'};
matlabbatch{2}.cfg_basicio.cfg_named_file.name = 'EPI images';
matlabbatch{2}.cfg_basicio.cfg_named_file.files = {
                                                   '<UNDEFINED>'
                                                   '<UNDEFINED>'
                                                   }';
matlabbatch{3}.cfg_basicio.cfg_named_file.name = 'Anatomical image';
matlabbatch{3}.cfg_basicio.cfg_named_file.files = {'<UNDEFINED>'};
matlabbatch{4}.cfg_basicio.cfg_cd.dir(1) = cfg_dep;
matlabbatch{4}.cfg_basicio.cfg_cd.dir(1).tgt_spec = {};
matlabbatch{4}.cfg_basicio.cfg_cd.dir(1).sname = 'Named Directory Selector: Subject directory(1)';
matlabbatch{4}.cfg_basicio.cfg_cd.dir(1).src_exbranch = substruct('.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{4}.cfg_basicio.cfg_cd.dir(1).src_output = substruct('.','dirs', '{}',{1});
matlabbatch{5}.cfg_basicio.cfg_mkdir.parent(1) = cfg_dep;
matlabbatch{5}.cfg_basicio.cfg_mkdir.parent(1).tgt_spec = {};
matlabbatch{5}.cfg_basicio.cfg_mkdir.parent(1).sname = 'Named Directory Selector: Subject directory(1)';
matlabbatch{5}.cfg_basicio.cfg_mkdir.parent(1).src_exbranch = substruct('.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{5}.cfg_basicio.cfg_mkdir.parent(1).src_output = substruct('.','dirs', '{}',{1});
matlabbatch{5}.cfg_basicio.cfg_mkdir.name = 'Stats';
matlabbatch{6}.spm.spatial.realign.estwrite.data{1}(1) = cfg_dep;
matlabbatch{6}.spm.spatial.realign.estwrite.data{1}(1).tgt_spec = {};
matlabbatch{6}.spm.spatial.realign.estwrite.data{1}(1).sname = 'Named File Selector: EPI images(1) - Files';
matlabbatch{6}.spm.spatial.realign.estwrite.data{1}(1).src_exbranch = substruct('.','val', '{}',{2}, '.','val', '{}',{1});
matlabbatch{6}.spm.spatial.realign.estwrite.data{1}(1).src_output = substruct('.','files', '{}',{1});
matlabbatch{6}.spm.spatial.realign.estwrite.data{2}(1) = cfg_dep;
matlabbatch{6}.spm.spatial.realign.estwrite.data{2}(1).tgt_spec = {};
matlabbatch{6}.spm.spatial.realign.estwrite.data{2}(1).sname = 'Named File Selector: EPI images(2) - Files';
matlabbatch{6}.spm.spatial.realign.estwrite.data{2}(1).src_exbranch = substruct('.','val', '{}',{2}, '.','val', '{}',{1});
matlabbatch{6}.spm.spatial.realign.estwrite.data{2}(1).src_output = substruct('.','files', '{}',{2});
matlabbatch{6}.spm.spatial.realign.estwrite.eoptions.quality = 0.9;
matlabbatch{6}.spm.spatial.realign.estwrite.eoptions.sep = 4;
matlabbatch{6}.spm.spatial.realign.estwrite.eoptions.fwhm = 5;
matlabbatch{6}.spm.spatial.realign.estwrite.eoptions.rtm = 1;
matlabbatch{6}.spm.spatial.realign.estwrite.eoptions.interp = 2;
matlabbatch{6}.spm.spatial.realign.estwrite.eoptions.wrap = [0 0 0];
matlabbatch{6}.spm.spatial.realign.estwrite.eoptions.weight = {''};
matlabbatch{6}.spm.spatial.realign.estwrite.roptions.which = [0 1];
matlabbatch{6}.spm.spatial.realign.estwrite.roptions.interp = 4;
matlabbatch{6}.spm.spatial.realign.estwrite.roptions.wrap = [0 0 0];
matlabbatch{6}.spm.spatial.realign.estwrite.roptions.mask = 1;
matlabbatch{6}.spm.spatial.realign.estwrite.roptions.prefix = 'r';
matlabbatch{7}.spm.spatial.coreg.estimate.ref(1) = cfg_dep;
matlabbatch{7}.spm.spatial.coreg.estimate.ref(1).tgt_spec = {};
matlabbatch{7}.spm.spatial.coreg.estimate.ref(1).sname = 'Named File Selector: Anatomical image(1) - Files';
matlabbatch{7}.spm.spatial.coreg.estimate.ref(1).src_exbranch = substruct('.','val', '{}',{3}, '.','val', '{}',{1});
matlabbatch{7}.spm.spatial.coreg.estimate.ref(1).src_output = substruct('.','files', '{}',{1});
matlabbatch{7}.spm.spatial.coreg.estimate.source(1) = cfg_dep;
matlabbatch{7}.spm.spatial.coreg.estimate.source(1).tgt_spec = {};
matlabbatch{7}.spm.spatial.coreg.estimate.source(1).sname = 'Realign: Estimate & Reslice: Mean Image';
matlabbatch{7}.spm.spatial.coreg.estimate.source(1).src_exbranch = substruct('.','val', '{}',{6}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{7}.spm.spatial.coreg.estimate.source(1).src_output = substruct('.','rmean');
matlabbatch{7}.spm.spatial.coreg.estimate.other(1) = cfg_dep;
matlabbatch{7}.spm.spatial.coreg.estimate.other(1).tgt_spec = {};
matlabbatch{7}.spm.spatial.coreg.estimate.other(1).sname = 'Realign: Estimate & Reslice: Realigned Images (Sess 1)';
matlabbatch{7}.spm.spatial.coreg.estimate.other(1).src_exbranch = substruct('.','val', '{}',{6}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{7}.spm.spatial.coreg.estimate.other(1).src_output = substruct('.','sess', '()',{1}, '.','cfiles');
matlabbatch{7}.spm.spatial.coreg.estimate.other(2) = cfg_dep;
matlabbatch{7}.spm.spatial.coreg.estimate.other(2).tgt_spec = {};
matlabbatch{7}.spm.spatial.coreg.estimate.other(2).sname = 'Realign: Estimate & Reslice: Realigned Images (Sess 2)';
matlabbatch{7}.spm.spatial.coreg.estimate.other(2).src_exbranch = substruct('.','val', '{}',{6}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{7}.spm.spatial.coreg.estimate.other(2).src_output = substruct('.','sess', '()',{2}, '.','cfiles');
matlabbatch{7}.spm.spatial.coreg.estimate.eoptions.cost_fun = 'nmi';
matlabbatch{7}.spm.spatial.coreg.estimate.eoptions.sep = [4 2];
matlabbatch{7}.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{7}.spm.spatial.coreg.estimate.eoptions.fwhm = [7 7];
matlabbatch{8}.spm.spatial.preproc.data(1) = cfg_dep;
matlabbatch{8}.spm.spatial.preproc.data(1).tgt_spec = {};
matlabbatch{8}.spm.spatial.preproc.data(1).sname = 'Named File Selector: Anatomical image(1) - Files';
matlabbatch{8}.spm.spatial.preproc.data(1).src_exbranch = substruct('.','val', '{}',{3}, '.','val', '{}',{1});
matlabbatch{8}.spm.spatial.preproc.data(1).src_output = substruct('.','files', '{}',{1});
matlabbatch{8}.spm.spatial.preproc.output.GM = [0 0 1];
matlabbatch{8}.spm.spatial.preproc.output.WM = [0 0 1];
matlabbatch{8}.spm.spatial.preproc.output.CSF = [0 0 0];
matlabbatch{8}.spm.spatial.preproc.output.biascor = 1;
matlabbatch{8}.spm.spatial.preproc.output.cleanup = 0;
matlabbatch{8}.spm.spatial.preproc.opts.tpm = {
                                               '/export/spm8/tpm/grey.nii,1'
                                               '/export/spm8/tpm/white.nii,1'
                                               '/export/spm8/tpm/csf.nii,1'
                                               };
matlabbatch{8}.spm.spatial.preproc.opts.ngaus = [2
                                                 2
                                                 2
                                                 4];
matlabbatch{8}.spm.spatial.preproc.opts.regtype = 'mni';
matlabbatch{8}.spm.spatial.preproc.opts.warpreg = 1;
matlabbatch{8}.spm.spatial.preproc.opts.warpco = 25;
matlabbatch{8}.spm.spatial.preproc.opts.biasreg = 0.0001;
matlabbatch{8}.spm.spatial.preproc.opts.biasfwhm = 60;
matlabbatch{8}.spm.spatial.preproc.opts.samp = 3;
matlabbatch{8}.spm.spatial.preproc.opts.msk = {''};
matlabbatch{9}.cfg_basicio.cfg_file_split.name = 'Coregistered images w/o mean';
matlabbatch{9}.cfg_basicio.cfg_file_split.files(1) = cfg_dep;
matlabbatch{9}.cfg_basicio.cfg_file_split.files(1).tgt_spec = {};
matlabbatch{9}.cfg_basicio.cfg_file_split.files(1).sname = 'Coreg: Estimate: Coregistered Images';
matlabbatch{9}.cfg_basicio.cfg_file_split.files(1).src_exbranch = substruct('.','val', '{}',{7}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{9}.cfg_basicio.cfg_file_split.files(1).src_output = substruct('.','cfiles');
matlabbatch{9}.cfg_basicio.cfg_file_split.index = {1};
matlabbatch{10}.spm.spatial.normalise.write.subj.matname(1) = cfg_dep;
matlabbatch{10}.spm.spatial.normalise.write.subj.matname(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{10}.spm.spatial.normalise.write.subj.matname(1).tgt_spec{1}(1).value = 'mat';
matlabbatch{10}.spm.spatial.normalise.write.subj.matname(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{10}.spm.spatial.normalise.write.subj.matname(1).tgt_spec{1}(2).value = 'e';
matlabbatch{10}.spm.spatial.normalise.write.subj.matname(1).sname = 'Segment: Norm Params Subj->MNI';
matlabbatch{10}.spm.spatial.normalise.write.subj.matname(1).src_exbranch = substruct('.','val', '{}',{8}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{10}.spm.spatial.normalise.write.subj.matname(1).src_output = substruct('()',{1}, '.','snfile', '()',{':'});
matlabbatch{10}.spm.spatial.normalise.write.subj.resample(1) = cfg_dep;
matlabbatch{10}.spm.spatial.normalise.write.subj.resample(1).tgt_spec{1}(1).name = 'class';
matlabbatch{10}.spm.spatial.normalise.write.subj.resample(1).tgt_spec{1}(1).value = 'cfg_files';
matlabbatch{10}.spm.spatial.normalise.write.subj.resample(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{10}.spm.spatial.normalise.write.subj.resample(1).tgt_spec{1}(2).value = 'e';
matlabbatch{10}.spm.spatial.normalise.write.subj.resample(1).sname = 'File Set Split: Coregistered images w/o mean (rem)';
matlabbatch{10}.spm.spatial.normalise.write.subj.resample(1).src_exbranch = substruct('.','val', '{}',{9}, '.','val', '{}',{1});
matlabbatch{10}.spm.spatial.normalise.write.subj.resample(1).src_output = substruct('{}',{2});
matlabbatch{10}.spm.spatial.normalise.write.roptions.preserve = 0;
matlabbatch{10}.spm.spatial.normalise.write.roptions.bb = [-78 -112 -50
                                                           78 76 85];
matlabbatch{10}.spm.spatial.normalise.write.roptions.vox = [3 3 3];
matlabbatch{10}.spm.spatial.normalise.write.roptions.interp = 1;
matlabbatch{10}.spm.spatial.normalise.write.roptions.wrap = [0 0 0];
matlabbatch{10}.spm.spatial.normalise.write.roptions.prefix = 'w';
matlabbatch{11}.spm.spatial.smooth.data(1) = cfg_dep;
matlabbatch{11}.spm.spatial.smooth.data(1).tgt_spec = {};
matlabbatch{11}.spm.spatial.smooth.data(1).sname = 'Normalise: Write: Normalised Images (Subj 1)';
matlabbatch{11}.spm.spatial.smooth.data(1).src_exbranch = substruct('.','val', '{}',{10}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{11}.spm.spatial.smooth.data(1).src_output = substruct('()',{1}, '.','files');
matlabbatch{11}.spm.spatial.smooth.fwhm = [8 8 8];
matlabbatch{11}.spm.spatial.smooth.dtype = 0;
matlabbatch{11}.spm.spatial.smooth.prefix = 's';
matlabbatch{12}.cfg_basicio.cfg_file_split.name = 'Smoothed EPIs';
matlabbatch{12}.cfg_basicio.cfg_file_split.files(1) = cfg_dep;
matlabbatch{12}.cfg_basicio.cfg_file_split.files(1).tgt_spec = {};
matlabbatch{12}.cfg_basicio.cfg_file_split.files(1).sname = 'Smooth: Smoothed Images';
matlabbatch{12}.cfg_basicio.cfg_file_split.files(1).src_exbranch = substruct('.','val', '{}',{11}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{12}.cfg_basicio.cfg_file_split.files(1).src_output = substruct('.','files');
matlabbatch{12}.cfg_basicio.cfg_file_split.index{1}(1) = cfg_dep;
matlabbatch{12}.cfg_basicio.cfg_file_split.index{1}(1).tgt_spec{1}(1).name = 'strtype';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{1}(1).tgt_spec{1}(1).value = 'n';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{1}(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{1}(1).tgt_spec{1}(2).value = 'w';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{1}(1).tgt_spec{1}(3).name = 'strtype';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{1}(1).tgt_spec{1}(3).value = 'i';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{1}(1).tgt_spec{1}(4).name = 'strtype';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{1}(1).tgt_spec{1}(4).value = 'r';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{1}(1).tgt_spec{1}(5).name = 'strtype';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{1}(1).tgt_spec{1}(5).value = 'e';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{1}(1).sname = 'Named File Selector: EPI images(1) - File index';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{1}(1).src_exbranch = substruct('.','val', '{}',{2}, '.','val', '{}',{1});
matlabbatch{12}.cfg_basicio.cfg_file_split.index{1}(1).src_output = substruct('.','index', '{}',{1});
matlabbatch{12}.cfg_basicio.cfg_file_split.index{2}(1) = cfg_dep;
matlabbatch{12}.cfg_basicio.cfg_file_split.index{2}(1).tgt_spec{1}(1).name = 'strtype';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{2}(1).tgt_spec{1}(1).value = 'n';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{2}(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{2}(1).tgt_spec{1}(2).value = 'w';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{2}(1).tgt_spec{1}(3).name = 'strtype';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{2}(1).tgt_spec{1}(3).value = 'i';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{2}(1).tgt_spec{1}(4).name = 'strtype';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{2}(1).tgt_spec{1}(4).value = 'r';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{2}(1).tgt_spec{1}(5).name = 'strtype';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{2}(1).tgt_spec{1}(5).value = 'e';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{2}(1).sname = 'Named File Selector: EPI images(2) - File index';
matlabbatch{12}.cfg_basicio.cfg_file_split.index{2}(1).src_exbranch = substruct('.','val', '{}',{2}, '.','val', '{}',{1});
matlabbatch{12}.cfg_basicio.cfg_file_split.index{2}(1).src_output = substruct('.','index', '{}',{2});
matlabbatch{13}.spm.stats.fmri_spec.dir(1) = cfg_dep;
matlabbatch{13}.spm.stats.fmri_spec.dir(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{13}.spm.stats.fmri_spec.dir(1).tgt_spec{1}(1).value = 'dir';
matlabbatch{13}.spm.stats.fmri_spec.dir(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{13}.spm.stats.fmri_spec.dir(1).tgt_spec{1}(2).value = 'e';
matlabbatch{13}.spm.stats.fmri_spec.dir(1).sname = 'Make Directory: Make Directory ''Stats''';
matlabbatch{13}.spm.stats.fmri_spec.dir(1).src_exbranch = substruct('.','val', '{}',{5}, '.','val', '{}',{1});
matlabbatch{13}.spm.stats.fmri_spec.dir(1).src_output = substruct('.','dir');
matlabbatch{13}.spm.stats.fmri_spec.timing.units = 'scans';
matlabbatch{13}.spm.stats.fmri_spec.timing.RT = 2;
matlabbatch{13}.spm.stats.fmri_spec.timing.fmri_t = 16;
matlabbatch{13}.spm.stats.fmri_spec.timing.fmri_t0 = 1;
matlabbatch{13}.spm.stats.fmri_spec.sess(1).scans(1) = cfg_dep;
matlabbatch{13}.spm.stats.fmri_spec.sess(1).scans(1).tgt_spec = {};
matlabbatch{13}.spm.stats.fmri_spec.sess(1).scans(1).sname = 'File Set Split: Smoothed EPIs (1)';
matlabbatch{13}.spm.stats.fmri_spec.sess(1).scans(1).src_exbranch = substruct('.','val', '{}',{12}, '.','val', '{}',{1});
matlabbatch{13}.spm.stats.fmri_spec.sess(1).scans(1).src_output = substruct('{}',{1});
matlabbatch{13}.spm.stats.fmri_spec.sess(1).cond = struct('name', {}, 'onset', {}, 'duration', {}, 'tmod', {}, 'pmod', {});
matlabbatch{13}.spm.stats.fmri_spec.sess(1).multi = '<UNDEFINED>';
matlabbatch{13}.spm.stats.fmri_spec.sess(1).regress = struct('name', {}, 'val', {});
matlabbatch{13}.spm.stats.fmri_spec.sess(1).multi_reg(1) = cfg_dep;
matlabbatch{13}.spm.stats.fmri_spec.sess(1).multi_reg(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{13}.spm.stats.fmri_spec.sess(1).multi_reg(1).tgt_spec{1}(1).value = 'mat';
matlabbatch{13}.spm.stats.fmri_spec.sess(1).multi_reg(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{13}.spm.stats.fmri_spec.sess(1).multi_reg(1).tgt_spec{1}(2).value = 'e';
matlabbatch{13}.spm.stats.fmri_spec.sess(1).multi_reg(1).sname = 'Realign: Estimate & Reslice: Realignment Param File (Sess 1)';
matlabbatch{13}.spm.stats.fmri_spec.sess(1).multi_reg(1).src_exbranch = substruct('.','val', '{}',{6}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{13}.spm.stats.fmri_spec.sess(1).multi_reg(1).src_output = substruct('.','sess', '()',{1}, '.','rpfile');
matlabbatch{13}.spm.stats.fmri_spec.sess(1).hpf = 128;
matlabbatch{13}.spm.stats.fmri_spec.sess(2).scans(1) = cfg_dep;
matlabbatch{13}.spm.stats.fmri_spec.sess(2).scans(1).tgt_spec = {};
matlabbatch{13}.spm.stats.fmri_spec.sess(2).scans(1).sname = 'File Set Split: Smoothed EPIs (2)';
matlabbatch{13}.spm.stats.fmri_spec.sess(2).scans(1).src_exbranch = substruct('.','val', '{}',{12}, '.','val', '{}',{1});
matlabbatch{13}.spm.stats.fmri_spec.sess(2).scans(1).src_output = substruct('{}',{2});
matlabbatch{13}.spm.stats.fmri_spec.sess(2).cond = struct('name', {}, 'onset', {}, 'duration', {}, 'tmod', {}, 'pmod', {});
matlabbatch{13}.spm.stats.fmri_spec.sess(2).multi = '<UNDEFINED>';
matlabbatch{13}.spm.stats.fmri_spec.sess(2).regress = struct('name', {}, 'val', {});
matlabbatch{13}.spm.stats.fmri_spec.sess(2).multi_reg(1) = cfg_dep;
matlabbatch{13}.spm.stats.fmri_spec.sess(2).multi_reg(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{13}.spm.stats.fmri_spec.sess(2).multi_reg(1).tgt_spec{1}(1).value = 'mat';
matlabbatch{13}.spm.stats.fmri_spec.sess(2).multi_reg(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{13}.spm.stats.fmri_spec.sess(2).multi_reg(1).tgt_spec{1}(2).value = 'e';
matlabbatch{13}.spm.stats.fmri_spec.sess(2).multi_reg(1).sname = 'Realign: Estimate & Reslice: Realignment Param File (Sess 2)';
matlabbatch{13}.spm.stats.fmri_spec.sess(2).multi_reg(1).src_exbranch = substruct('.','val', '{}',{6}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{13}.spm.stats.fmri_spec.sess(2).multi_reg(1).src_output = substruct('.','sess', '()',{2}, '.','rpfile');
matlabbatch{13}.spm.stats.fmri_spec.sess(2).hpf = 128;
matlabbatch{13}.spm.stats.fmri_spec.fact = struct('name', {}, 'levels', {});
matlabbatch{13}.spm.stats.fmri_spec.bases.hrf.derivs = [1 1];
matlabbatch{13}.spm.stats.fmri_spec.volt = 1;
matlabbatch{13}.spm.stats.fmri_spec.global = 'None';
matlabbatch{13}.spm.stats.fmri_spec.mask = {''};
matlabbatch{13}.spm.stats.fmri_spec.cvi = 'AR(1)';
matlabbatch{14}.spm.stats.fmri_est.spmmat(1) = cfg_dep;
matlabbatch{14}.spm.stats.fmri_est.spmmat(1).tgt_spec = {};
matlabbatch{14}.spm.stats.fmri_est.spmmat(1).sname = 'fMRI model specification: SPM.mat File';
matlabbatch{14}.spm.stats.fmri_est.spmmat(1).src_exbranch = substruct('.','val', '{}',{13}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{14}.spm.stats.fmri_est.spmmat(1).src_output = substruct('.','spmmat');
matlabbatch{14}.spm.stats.fmri_est.method.Classical = 1;
matlabbatch{15}.spm.stats.con.spmmat(1) = cfg_dep;
matlabbatch{15}.spm.stats.con.spmmat(1).tgt_spec = {};
matlabbatch{15}.spm.stats.con.spmmat(1).sname = 'Model estimation: SPM.mat File';
matlabbatch{15}.spm.stats.con.spmmat(1).src_exbranch = substruct('.','val', '{}',{14}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{15}.spm.stats.con.spmmat(1).src_output = substruct('.','spmmat');
matlabbatch{15}.spm.stats.con.consess{1}.fcon.name = 'faces + scrambled vs Baseline (all BFs)';
matlabbatch{15}.spm.stats.con.consess{1}.fcon.convec = {
                                                        [1 0 0 1 0 0 0 0 0 0 0 0
                                                        0 1 0 0 1 0 0 0 0 0 0 0
                                                        0 0 1 0 0 1 0 0 0 0 0 0]
                                                        }';
matlabbatch{15}.spm.stats.con.consess{1}.fcon.sessrep = 'repl';
matlabbatch{15}.spm.stats.con.consess{2}.fcon.name = 'faces vs scrambled (all BFs)';
matlabbatch{15}.spm.stats.con.consess{2}.fcon.convec = {
                                                        [1 0 0 -1 0 0 0 0 0 0 0 0
                                                        0 1 0 0 -1 0 0 0 0 0 0 0
                                                        0 0 1 0 0 -1 0 0 0 0 0 0]
                                                        }';
matlabbatch{15}.spm.stats.con.consess{2}.fcon.sessrep = 'repl';
matlabbatch{15}.spm.stats.con.delete = 0;
matlabbatch{16}.spm.stats.results.spmmat(1) = cfg_dep;
matlabbatch{16}.spm.stats.results.spmmat(1).tgt_spec = {};
matlabbatch{16}.spm.stats.results.spmmat(1).sname = 'Contrast Manager: SPM.mat File';
matlabbatch{16}.spm.stats.results.spmmat(1).src_exbranch = substruct('.','val', '{}',{15}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{16}.spm.stats.results.spmmat(1).src_output = substruct('.','spmmat');
matlabbatch{16}.spm.stats.results.conspec.titlestr = '';
matlabbatch{16}.spm.stats.results.conspec.contrasts = Inf;
matlabbatch{16}.spm.stats.results.conspec.threshdesc = 'FWE';
matlabbatch{16}.spm.stats.results.conspec.thresh = 0.05;
matlabbatch{16}.spm.stats.results.conspec.extent = 0;
matlabbatch{16}.spm.stats.results.conspec.mask = struct('contrasts', {}, 'thresh', {}, 'mtype', {});
matlabbatch{16}.spm.stats.results.units = 1;
matlabbatch{16}.spm.stats.results.print = true;
