Home > data-import > supporting_functions > get_kid_root.m

get_kid_root

PURPOSE ^

SYNOPSIS ^

function root = get_kid_root(kidID, expID)

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function root = get_kid_root(kidID, expID)
0002 root = fullfile(get_temp_backus_root,sprintf('experiment_%02d', expID),'included');
0003 dnames = dir(fullfile(root, sprintf('*%d', kidID)));
0004 foldernames = {dnames(:).name};
0005 root = fullfile(root, foldernames{1});
0006 end

Generated on Tue 23-May-2017 20:00:55 by m2html © 2005