private/bootstrap.m
9e39a52b
 function ret = bootstrap(studyID)
 
 StudyArgs.baseDir             = 'D:\';
 StudyArgs.subjectSelectString = 'noSubject';
 StudyArgs.subjectSelectValue	= 1;
 StudyArgs.classdefString      = '';
 
 StudyArgs.pststart            = '0';
 StudyArgs.pstend              = '0';
 StudyArgs.baselinestart       = '0';
 StudyArgs.baselineend         = '0';
 StudyArgs.trfactor            = '0';
 StudyArgs.trlabel             = '2';
 
 StudyArgs.imageTypeSelectionString = 'noImages';
 StudyArgs.imageTypeSelectionValue  = 1;
 
 StudyArgs.voxelString         = '';
 
 StudyArgs.selNormPSTValue     = 1;
 StudyArgs.chkColBiasValue     = 1;
 
 %%%%%%%%%%%%%%%
 
 StudyArgs.frameshiftstart = '0';
 StudyArgs.frameshiftend = '0';
 StudyArgs.frameshiftdur = '0';
 
de857369
 StudyArgs.svmoptstring = '-s 0 -t 0 -c 1';
9e39a52b
 StudyArgs.svmnfold = '0';
 StudyArgs.svmrnd = 1;
 
 StudyArgs.somM = '0';
 StudyArgs.somN = '0';
 StudyArgs.latticeModelValue = 1;
 StudyArgs.somnfold = '0';
 
de857369
 StudyArgs.searchlightradius = '3';
9e39a52b
 StudyArgs.searchlightTimeline = '';
 
 
de857369
 file = strcat(studyID,'.mat');
 save(fullfile('D:\SPM\spm2\toolbox\SVMCrossVal\study',file),'-Struct','StudyArgs') ;
9e39a52b
 ret=StudyArgs;
 end