git.schokokeks.org
Repositories
Help
Report an Issue
SVMCrossVal.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
e004973
Branches
Tags
master
SVMCrossVal.git
private
parseCoordinateTextField.m
coordTabel works for JZ006
Christoph Budziszewski
commited
e004973
at 2009-02-25 15:49:55
parseCoordinateTextField.m
Blame
History
Raw
function voxelList = parseCoordinateTextField(model) s = get(model.txtVoxelDef,'String'); rows = size(s,1); voxelList = []; for i = 1:rows if all(isspace(s(i,:))) continue; end line = s(i,:); [roi rem] = strtok(line,'+'); roimod = eval(str2mat(rem(2:end))); coord.name = roi; coord.mod = roimod; voxelList = [voxelList; coord]; end end