Dear SPM-list,
is there a way to set a script to save a thresholded SPM? I have to do
this for all participants and in order to save time I'd prefer to script
and loop it. From the batch I've gotten the parameters for the results
report but I don't know how to continue from there to set it to save the
thresholded spm. Any help will be appreciated!
%-----------------------------------------------------------------------
% Job configuration created by cfg_util (rev $Rev: 4252 $)
%-----------------------------------------------------------------------
matlabbatch{1}.spm.stats.results.spmmat = {'C:\DICOM\S001\Stat\SPM.mat'};
matlabbatch{1}.spm.stats.results.conspec.titlestr = '';
matlabbatch{1}.spm.stats.results.conspec.contrasts = 3;
matlabbatch{1}.spm.stats.results.conspec.threshdesc = 'none';
matlabbatch{1}.spm.stats.results.conspec.thresh = 0.001;
matlabbatch{1}.spm.stats.results.conspec.extent = 92;
matlabbatch{1}.spm.stats.results.conspec.mask = struct('contrasts', {},
'thresh', {}, 'mtype', {});
matlabbatch{1}.spm.stats.results.units = 1;
matlabbatch{1}.spm.stats.results.print = true;
|