private/getSubjectIDString.m
84376774
 function s = getSubjectIDString(model) % TODO rename to getSubjectIDStringCellArray
b8f957c5
     tmp_sidx =  get(model.subjectSelector,'Value');
     tmp_cellList = getSubjectCellList(model.subjectMap);
84376774
 
     if size(tmp_sidx,2) >= 1
         s = tmp_cellList(tmp_sidx);
     else
         error('spmtoolbox:SVMCrossVal:getSubjectID:NoSelection','no subject selected');
b8f957c5
     end
84376774
 
b8f957c5
 end