Mercurial > hg > emotion-detection-top-level
diff Code/Descriptors/Matlab/MPEG7/FromWeb/VoiceSauce/func_setmatdir.m @ 4:92ca03a8fa99 tip
Update to ICASSP 2013 benchmark
author | Dawn Black |
---|---|
date | Wed, 13 Feb 2013 11:02:39 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Code/Descriptors/Matlab/MPEG7/FromWeb/VoiceSauce/func_setmatdir.m Wed Feb 13 11:02:39 2013 +0000 @@ -0,0 +1,27 @@ +function VSData = func_setmatdir(whoami, new_dir, VSData) +% VSData = func_setmatdir(whoami, new_dir, VSData) +% Notes: Conditionally sets the global settings for mat directories +% +% Author: Yen-Liang Shue, Speech Processing and Auditory Perception Laboratory, UCLA +% Copyright UCLA SPAPL 2009 + +if (VSData.vars.linkmatdir) + VSData.vars.matdir = new_dir; + VSData.vars.PD_matdir = new_dir; + VSData.vars.OT_matdir = new_dir; + VSData.vars.OT_EGGdir = new_dir; + VSData.vars.OTE_matdir = new_dir; + VSData.vars.MD_matdir = new_dir; + VSData.vars.OT_Textgriddir = new_dir; + VSData.vars.OT_outputdir = new_dir; + + if (VSData.vars.OTE_saveEMUwithmat) + VSData.vars.OTE_outputdir = new_dir; + end + +else % not linked, just update the requesting function + VSData.vars.(whoami) = new_dir; +end + + + \ No newline at end of file