-
Notifications
You must be signed in to change notification settings - Fork 0
/
start_repeated_scaleFree.m
32 lines (30 loc) · 1.28 KB
/
start_repeated_scaleFree.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
mfilepath=pwd;
addpath(fullfile(mfilepath, './MULAN'));
addpath (fullfile(mfilepath, './MULAN/Calculation'));
addpath (fullfile(mfilepath, './MULAN/ClusterComputation'));
addpath (fullfile(mfilepath, './MULAN/Evaluation'));
addpath (fullfile(mfilepath, './MULAN/Examples'));
addpath (fullfile(mfilepath, './MULAN/Examples/data'));
addpath (fullfile(mfilepath, './MULAN/Examples/Results'));
addpath (fullfile(mfilepath, './MULAN/GenerateData'));
addpath (fullfile(mfilepath, './MULAN/Interface'));
addpath (fullfile(mfilepath, './GENIE'));
addpath (fullfile(mfilepath, './GENIE/RT'));
addpath (fullfile(mfilepath, './TIGRESS'));
addpath (fullfile(mfilepath, './TIGRESS/lars'));
addpath (fullfile(mfilepath, './ScaleFree'));
addpath (fullfile(mfilepath, './Helper-scripts'));
cd ./MULAN;
mln_generateParams;
mex ../GENIE/RT/rtree-c/rtenslearn_c.c;
ext = mexext;
movefile(fullfile(pwd, ['rtenslearn_c' '.' ext]), fullfile('../GENIE/RT/', ...
['rtenslearn_c' ...
'.' ext]));
parfor i = 1:2
folder = ['scaleFree_' int2str(i)];
strct = ['GenerateData/structureN' int2str(50) 'scaleFree' int2str(i)]
generateScaleFree(50, i);
mln_CalEvaN(folder, 'sim4', strct, 'nmmParams', ...
'50', '1', '200', '1', 'fMRI');
end