git.schokokeks.org
Repositories
Help
Report an Issue
SVMCrossVal.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
e004973
Branches
Tags
master
SVMCrossVal.git
private
main.m
coordTabel works for JZ006
Christoph Budziszewski
commited
e004973
at 2009-02-25 15:49:55
main.m
Blame
History
Raw
function main(model,task) % parse the GUI and pass parameters as structure disp('RUN'); timeLine = getTimeLineParams(model); subjects = getSubjectCellList(model); classDef = parseClassDef(model); mask = ['^' cell2mat(getImageFileMask(model)) '.*\.img$']; % images % normalization switch task case 'COORD' disp('COORD'); coordargs = struct; coordargs.subjects = subjects; coordargs.timeline = timeLine; coordargs.basedir = model.baseDir; coordargs.sessionList = 1:3; coordargs.eventList = classDef.eventMatrix; coordargs.coords = parseCoordinateTextField(model); coordargs.mask = mask; runCoordTable(coordargs) case 'ROI' disp('ROI'); roiargs = struct; roiargs.subjects = subjects; roiargs.timeline = timeLine; roiargs.classes = classDef; roiargs.mask = mask; roiargs.basedir = model.baseDir; roiargs.sessionList = 1:3; roiargs.eventList = classDef.eventMatrix; assignin('base','roiargs',roiargs); runROIImageMaskMode(roiargs); case 'FBS' disp('FBS') end end