forked from shanqing-cai/commonmcode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchangeTSM.m
22 lines (21 loc) · 939 Bytes
/
changeTSM.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
% tFN=which('TransShiftMex');
% [tPath,jnk]=fileparts(tFN);
% if (~isempty(strfind(tPath,'Z:\speechres\adapt\ADAPT_VC\BIN\release')))
% rmpath(tPath);
% addpath('Z:\speechres\adapt\ADAPT_VC_TRIPH\BIN\release');
% % addpath('Z:\speechres\adapt\ADAPT_VC_TRIPH\BIN\release');
% elseif (~isempty(strfind(tPath,'Z:\speechres\adapt\ADAPT_VC_RATIO\BIN\release')))
% rmpath(tPath);
% addpath('Z:\speechres\adapt\ADAPT_VC_TRIPH\BIN\release');
% end
%% 2009/07/02
tFN=which('TransShiftMex');
[tPath,jnk]=fileparts(tFN);
if (~isempty(strfind(tPath,'Z:\speechres\adapt\ADAPT_VC\BIN\release')))
rmpath(tPath);
addpath('Z:\speechres\adapt\ADAPT_VC_TRIPH_R\BIN\release');
% addpath('Z:\speechres\adapt\ADAPT_VC_TRIPH\BIN\release');
elseif (~isempty(strfind(tPath,'Z:\speechres\adapt\ADAPT_VC_RATIO\BIN\release')))
rmpath(tPath);
addpath('Z:\speechres\adapt\ADAPT_VC_TRIPH_R\BIN\release');
end