first eventually working st...
Christoph Budziszewski authored 15 years ago
|
1) function StudyArgs = load_study(studyFile,model)
2) studyID = strrep(studyFile,'.mat','');
3) display(['LOAD STUDY ' studyID]);
4)
5) global SVMCROSSVAL_STUDYDIR;
6) StudyArgs = load(fullfile(SVMCROSSVAL_STUDYDIR,studyFile));
7)
8) set(model.txtBaseDir,'String',StudyArgs.baseDir);
9) set(model.txtStudyID,'String',studyID);
10)
11) set(model.subjectSelector,'String',StudyArgs.subjectSelectString);
12) set(model.subjectSelector,'UserData',StudyArgs.subjectSelectString);
13) set(model.subjectSelector,'Value',StudyArgs.subjectSelectValue);
14)
15) set(model.txtClassDef,'String',sprintf(StudyArgs.classdefString));
16)
17) set(model.txtPSTHStart, 'String',sprintf(StudyArgs.pststart));
18) set(model.txtPSTHEnd, 'String',sprintf(StudyArgs.pstend));
19) set(model.txtBaselineStart, 'String',sprintf(StudyArgs.baselinestart));
20) set(model.txtBaselineEnd, 'String',sprintf(StudyArgs.baselineend));
21) set(model.txtTrFactor, 'String',sprintf(StudyArgs.trfactor));
22) set(model.labelTR, 'String',sprintf(StudyArgs.trlabel));
23)
24) set(model.imageTypeSelection, 'String' ,StudyArgs.imageTypeSelectionString);
25) set(model.imageTypeSelection, 'UserData',StudyArgs.imageTypeSelectionString);
26) set(model.imageTypeSelection, 'Value' ,StudyArgs.imageTypeSelectionValue);
27)
28) set(model.txtVoxelDef,'String',sprintf(StudyArgs.voxelString));
29)
30) set(model.selNormPST, 'Value',StudyArgs.selNormPSTValue);
31) set(model.chkColBias, 'Value',StudyArgs.chkColBiasValue);
|
almost all "change study" f...
Christoph Budziszewski authored 15 years ago
|
32)
33) %%%%
34)
35) set(model.txtFrameShiftStart,'String', StudyArgs.frameshiftstart );
36) set(model.txtFrameShiftEnd,'String',StudyArgs.frameshiftend);
37) set(model.txtFrameShiftDur,'String',StudyArgs.frameshiftdur);
38)
39) set(model.txtSVMopts,'String',StudyArgs.svmoptstring );
40) set(model.txtSVMnfold,'String',StudyArgs.svmnfold );
41) set(model.chkSVMrnd,'Value',StudyArgs.svmrnd );
42)
43) set(model.txtSomM,'String',StudyArgs.somM);
44) set(model.txtSomN,'String',StudyArgs.somN);
45) set(model.selSomLattice,'Value',StudyArgs.latticeModelValue);
46) set(model.txtSOMnfold,'String',StudyArgs.somnfold );
47)
48) set(model.txtSearchlightRadius,'String',StudyArgs.searchlightradius );
49) set(model.txtSearchlightTimeline,'String',StudyArgs.searchlightTimeline);
50)
|