f625db4f3c2140c7c4152d359423f39ddf43da4b
Christoph Budziszewski subject list from filesyste...

Christoph Budziszewski authored 15 years ago

1) function model = scanDirs(model)
2) disp('scan dir');
3) subjectNames = listDirNames(model.baseDir);
4) 
5) set(model.subjectSelector,'String',subjectNames);
6) set(model.subjectSelector,'UserData',subjectNames);
7) set(model.subjectSelector,'Value',model.selectedSubject);
8) 
Christoph Budziszewski save load working for most...

Christoph Budziszewski authored 15 years ago

9) %subjectNames(model.selectedSubject)
Christoph Budziszewski subject list from filesyste...

Christoph Budziszewski authored 15 years ago

10) imageMask = imageMaskNames(fullfile(model.baseDir,cell2mat(subjectNames(model.selectedSubject))));
11) 
12) set(model.imageTypeSelection,'String',imageMask);
13) set(model.imageTypeSelection,'UserData',imageMask);
14) 
Christoph Budziszewski study change may work

Christoph Budziszewski authored 15 years ago

15) set(model.txtBaseDir,'String',model.baseDir);
Christoph Budziszewski subject list from filesyste...

Christoph Budziszewski authored 15 years ago

16) 
Christoph Budziszewski added TR

Christoph Budziszewski authored 15 years ago

17) % des = 
18) % tr = des.xsDes.Interscan_interval(1:end-3);
19) set(model.labelTR,'String',2)