-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEvaluation_VR.m
42 lines (29 loc) · 941 Bytes
/
Evaluation_VR.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
%=====================================================================
% File: Evaluation_VR.m
%=====================================================================
clc
%Setting the path
p=genpath(pwd);
path(path,p);
%Extracting directories
Directories=ExtractDir_SubDir(p);
%Compiling some of the libraries for faster execution
FilesToBeCompiled={};
NumOfSubDir=numel(Directories);
for i=1:NumOfSubDir
SearchString=fullfile(Directories{i},'compile_metrix_*.m');
TempDir=dir(SearchString);
if(~isempty(TempDir))
%Some files were found
NumOfFiles=length(TempDir);
CurrentDir=pwd;
cd(Directories{i});
for j=1:NumOfFiles
CompileString=TempDir(j).name(1:end-2);
feval( CompileString );
end
cd(CurrentDir);
end
end %for i=1:NumOfSubDir
%Running the UI.
run(which('Configuration.m'));