-
Notifications
You must be signed in to change notification settings - Fork 2
/
startup.m
53 lines (31 loc) · 1.25 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
%%
% This is run when matlab starts up from within the folder of startup.m (which it should)
% we add all the paths neccessary to find the data production functions, toolbox functions etc
% add script base path
% (we run matlab ALWAYS from within the GeoStruct
% - so we can be sure of the paths to add, even if we move the
% GeoStructure folder around)
%global GeoStructure;
global geostruct_path;
geostruct_path = [ pwd, filesep];
% base path to the matlab scripts we are using
addpath(geostruct_path);
% genpath adds sub folders
% Data input and output folders
addpath(genpath([geostruct_path, 'input']));
addpath(genpath([geostruct_path, 'output']));
% image processing
addpath(genpath([geostruct_path, 'preprocessing']));
% Point cloud input
addpath(genpath([geostruct_path, 'point_cloud']));
% Point cloud processing
addpath(genpath([geostruct_path, 'point_space']));
addpath(genpath([geostruct_path, 'search_space']));
addpath(genpath([geostruct_path, 'best_fit_plane']));
addpath(genpath([geostruct_path, 'segmentation']));
% Orientation measurement
addpath(genpath([geostruct_path, 'calculation']));
% Data evaluation
addpath(genpath([geostruct_path, 'statistics']));
% Misc and HCI interaction
addpath(genpath([geostruct_path, 'ancillary']));