private/ui_showAvailableROIs.m
f10dec01
 function ui_showAvailableROIs(model)
 
 
 subjects = getSubjectCellList(model);
 nSubjects = numel(subjects);
 data =[];
 for s = 1:nSubjects
     subjectStruct{s}.dir = fullfile(getBaseDir(model),cell2mat(subjects(s)));
     map = load(fullfile(subjectStruct{s}.dir,'results','roi','coord_map.mat'));
     data = [ data map.names];
 end
 
 availableROIs = unique(data)
 
 
 end
 
 function show(data)
 figure f;
 
 
 end