Skip to content

Commit 65ccad0

Browse files
authored
Update step02_CreateDartelTemplate.m
1 parent 856bf27 commit 65ccad0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/step02_CreateDartelTemplate.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
% dependencies: SPM12, need to be added to your MATLAB path
55

66
rootPath = '..\data';
7-
subjDir = cellstr(spm_select('FPList',rootPath,'dir','^T_'));
7+
subjDir = cellstr(spm_select('FPList',rootPath,'dir','^s_'));
88
T1location = 'MPRAGE' ;
99

1010
for subj = 1 : length(subjDir)
@@ -58,4 +58,4 @@
5858
matlabbatch{1}.spm.tools.dartel.warp.settings.optim.cyc = 3;
5959
matlabbatch{1}.spm.tools.dartel.warp.settings.optim.its = 3;
6060
% run batch
61-
spm_jobman('run', matlabbatch);
61+
spm_jobman('run', matlabbatch);

0 commit comments

Comments
 (0)