Skip to content

Commit 32f99df

Browse files
committed
Documentation: Fix to the scripting instructions pointed out in the SPM course
1 parent 250aa28 commit 32f99df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/tutorials/fmri/block/preprocessing/scripting.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ matlabbatch{4}.spm.spatial.preproc.warp.reg = [0 0.001 0.5 0.05 0.2];
7474
matlabbatch{4}.spm.spatial.preproc.warp.affreg = 'mni';
7575
matlabbatch{4}.spm.spatial.preproc.warp.fwhm = 0;
7676
matlabbatch{4}.spm.spatial.preproc.warp.samp = 3;
77-
matlabbatch{4}.spm.spatial.preproc.warp.write = [0 0];
77+
matlabbatch{4}.spm.spatial.preproc.warp.write = [0 1];
7878
matlabbatch{4}.spm.spatial.preproc.warp.vox = NaN;
7979
matlabbatch{4}.spm.spatial.preproc.warp.bb = [NaN NaN NaN
8080
NaN NaN NaN];
@@ -187,7 +187,7 @@ for i = 1:numel(sub)
187187
matlabbatch{4}.spm.spatial.preproc.warp.affreg = 'mni';
188188
matlabbatch{4}.spm.spatial.preproc.warp.fwhm = 0;
189189
matlabbatch{4}.spm.spatial.preproc.warp.samp = 3;
190-
matlabbatch{4}.spm.spatial.preproc.warp.write = [0 0];
190+
matlabbatch{4}.spm.spatial.preproc.warp.write = [0 1];
191191
matlabbatch{4}.spm.spatial.preproc.warp.vox = NaN;
192192
matlabbatch{4}.spm.spatial.preproc.warp.bb = [NaN NaN NaN
193193
NaN NaN NaN];
@@ -210,4 +210,4 @@ for i = 1:numel(sub)
210210
spm_jobman('run',matlabbatch) % execute the batch
211211
clear matlabbatch % clear matlabbatch
212212
end
213-
```
213+
```

0 commit comments

Comments
 (0)