-
Notifications
You must be signed in to change notification settings - Fork 0
/
addpaths.m
59 lines (44 loc) · 1.28 KB
/
addpaths.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
% Add necessary paths for subdirectories.
if isempty(regexp(path,['lib_obstacle_avoidance' pathsep], 'once'))
addpath([pwd, '/lib_obstacle_avoidance']);
end
if isempty(regexp(path,['General' pathsep], 'once'))
addpath([pwd, '/General']);
end
if isempty(regexp(path,['Obstacle' pathsep], 'once'))
addpath([pwd, '/Obstacle']);
end
if isempty(regexp(path,['Reward' pathsep], 'once'))
addpath([pwd, '/Reward']);
end
if isempty(regexp(path,['Algorithm' pathsep], 'once'))
addpath([pwd, '/Algorithm']);
end
if isempty(regexp(path,['Auglag' pathsep], 'once'))
addpath([pwd, '/Auglag']);
end
if isempty(regexp(path,['GPIRL' pathsep], 'once'))
addpath([pwd, '/GPIRL']);
end
if isempty(regexp(path,['Laplace' pathsep], 'once'))
addpath([pwd, '/Laplace']);
end
if isempty(regexp(path,['MaxEnt' pathsep], 'once'))
addpath([pwd, '/MaxEnt']);
end
if isempty(regexp(path,['Robotarm' pathsep], 'once'))
addpath([pwd, '/Robotarm']);
end
if isempty(regexp(path,['Utilities' pathsep], 'once'))
addpath([pwd, '/Utilities']);
end
addpath Utilities/minFunc
addpath Utilities/plot2svg
addpath FastHess
addpath Test
addpath Objectworld
addpath Reward
addpath General
addpath Laplace
addpath MaxEnt
addpath Auglag