forked from lemonzi/matlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstartup.m
55 lines (37 loc) · 1.27 KB
/
startup.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
function startup()
% Adds the toolboxes from MATLABtools to the path.
mtpath = fileparts(mfilename('fullpath'));
% If can't find current path, assume we cd'ed to the folder
if isempty(mtpath)
mtpath = pwd();
end
add = @(varargin) addpath(fullfile(mtpath, varargin{:}));
% Add the toobox root, in case anything is thrown there
add('');
% Add the misc custom functions (this is the real magic)
add('custom');
% Toolbox fkmeans, fast k-means
add('fkmeans');
% Toolbox aboxplot, advanced box plots
add('aboxplot');
% Toolbox jsonlab, deals with json files
add('jsonlab');
% Toolbox cloudPlot
add('cloudPlot');
% Toolbox clinep, plot 3D lines with varying color
add('clinep');
% Toolbox plotShaded, plot semi-transparent band between two lines
add('plotShaded');
% Toolbox export_fig, export figures to eps and pdf
add('export_fig');
% Toolbox yin, fundamental frequency estimator
add('yin');
% Toolbox subaxis, better subplot
add('subaxis');
% Toolbox progressbar, better waitbar
add('progressbar');
% Compiled libsvm binaries for various platforms (in progress)
add('libsvm');
% Toolbox suptitle, global title for all subplots
add('suptitle');
end