-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathStartup_DiffusionWavelets.m
More file actions
35 lines (24 loc) · 960 Bytes
/
Startup_DiffusionWavelets.m
File metadata and controls
35 lines (24 loc) · 960 Bytes
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
function Startup_DiffusionWavelets(BaseDirectory)
% Startup_DiffusionGeometry adds the various directories used by the diffusion geometry code
% to the current path. Startup_DiffusionGeometry will assume the current directory is the
% base directory unless another directory is specified
fprintf('Startup_DiffusionWavelets.m: setting diffusion wavelets paths ... \n');
if nargin==0
Prefix = [pwd filesep];
else
Prefix = [BaseDirectory filesep];
end;
% choose your nearest neighbors code by changing this line
appendpath(([Prefix 'Wavelets']));
appendpath(([Prefix 'Utils']));
appendpath(([Prefix 'Examples']));
fprintf('Startup_DiffusionWavelets.m: disabling case sensitivity warning ... \n');
warning('off','MATLAB:dispatcher:InexactMatch');
fprintf('Executing Startup_DiffusionGeometry')
cd DiffusionGeometry
Startup_DiffusionGeometry();
cd ..
function appendpath(string)
fprintf('\t%s\\ \n', string);
addpath(genpath(string));
return;