-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRunMe.m
38 lines (30 loc) · 869 Bytes
/
RunMe.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
% the libraries and paths that need to be imported
% NOTE: change the paths accordingly
currPath = pwd;
basePath = '~/repos/';
libPath = [basePath 'lib/'];
% the functions
addpath(genpath([currPath '/experiments/']))
addpath([currPath '/functions/'])
% the volumes
addpath([currPath '/volumes'])
% Aspire library
cd([libPath 'ASPIRE'])
initpath;
cd(currPath)
% v1.0.1 of GlobalBioIm
% cd([libPath 'GlobalBioIm-1.0.1'])
% setMatlabPath;
% latest version of GlobalBioIm
cd([libPath 'GlobalBioIm-master'])
setGlobalBioImPath
cd(currPath)
% the LinOpCryo
addpath(genpath([currPath '/LinOpCryo']))
addpath(genpath([currPath '/LinOpCryo/functions']))
addpath(genpath([currPath '/LinOpCryo/functions_opt']))
% create folder to save intermediate results
%if ~isfolder('./interm_res') % recent matlab version
if ~exist('./interm_res', 'dir')
mkdir('./interm_res/')
end