function StudyArgs = load_study(studyFile,model)
    studyID = strrep(studyFile,'.mat','');
    display(['LOAD STUDY ' studyID]);

    global SVMCROSSVAL_STUDYDIR;
    StudyArgs = load(fullfile(SVMCROSSVAL_STUDYDIR,studyFile));

    set(model.txtBaseDir,'String',StudyArgs.baseDir);
    set(model.txtStudyID,'String',studyID);
        
    set(model.subjectSelector,'String',StudyArgs.subjectSelectString);
    set(model.subjectSelector,'UserData',StudyArgs.subjectSelectString);
    set(model.subjectSelector,'Value',StudyArgs.subjectSelectValue);
    
    set(model.txtClassDef,'String',sprintf(StudyArgs.classdefString));
    
    set(model.txtPSTHStart,     'String',sprintf(StudyArgs.pststart));
    set(model.txtPSTHEnd,       'String',sprintf(StudyArgs.pstend));
    set(model.txtBaselineStart, 'String',sprintf(StudyArgs.baselinestart));
    set(model.txtBaselineEnd,   'String',sprintf(StudyArgs.baselineend));
    set(model.txtTrFactor,      'String',sprintf(StudyArgs.trfactor));
    set(model.labelTR,          'String',sprintf(StudyArgs.trlabel));
    
    set(model.imageTypeSelection, 'String'  ,StudyArgs.imageTypeSelectionString);
    set(model.imageTypeSelection, 'UserData',StudyArgs.imageTypeSelectionString);
    set(model.imageTypeSelection, 'Value'   ,StudyArgs.imageTypeSelectionValue);
    
    set(model.txtVoxelDef,'String',sprintf(StudyArgs.voxelString));
    
    set(model.selNormPST, 'Value',StudyArgs.selNormPSTValue);
    set(model.chkColBias, 'Value',StudyArgs.chkColBiasValue);
end