Mercurial > hg > emotion-detection-top-level
comparison 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 |
comparison
equal
deleted
inserted
replaced
3:e1cfa7765647 | 4:92ca03a8fa99 |
---|---|
1 function VSData = func_setmatdir(whoami, new_dir, VSData) | |
2 % VSData = func_setmatdir(whoami, new_dir, VSData) | |
3 % Notes: Conditionally sets the global settings for mat directories | |
4 % | |
5 % Author: Yen-Liang Shue, Speech Processing and Auditory Perception Laboratory, UCLA | |
6 % Copyright UCLA SPAPL 2009 | |
7 | |
8 if (VSData.vars.linkmatdir) | |
9 VSData.vars.matdir = new_dir; | |
10 VSData.vars.PD_matdir = new_dir; | |
11 VSData.vars.OT_matdir = new_dir; | |
12 VSData.vars.OT_EGGdir = new_dir; | |
13 VSData.vars.OTE_matdir = new_dir; | |
14 VSData.vars.MD_matdir = new_dir; | |
15 VSData.vars.OT_Textgriddir = new_dir; | |
16 VSData.vars.OT_outputdir = new_dir; | |
17 | |
18 if (VSData.vars.OTE_saveEMUwithmat) | |
19 VSData.vars.OTE_outputdir = new_dir; | |
20 end | |
21 | |
22 else % not linked, just update the requesting function | |
23 VSData.vars.(whoami) = new_dir; | |
24 end | |
25 | |
26 | |
27 |