-
Notifications
You must be signed in to change notification settings - Fork 0
/
startup.m
37 lines (31 loc) · 881 Bytes
/
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
%% startup.m
% *Summary:* Loads necessary paths of the VPC library package
%
% -----------
%
% Editor:
% OMAINSKA Marco - Doctoral Student, Cybernetics
% <marcoomainska@g.ecc.u-tokyo.ac.jp>
% Supervisor:
% YAMAUCHI Junya - Assistant Professor
% <junya_yamauchi@ipc.i.u-tokyo.ac.jp>
%
% Property of: Fujita-Yamauchi Lab, University of Tokyo, 2021
% e-mail: marcoomainska@g.ecc.u-tokyo.ac.jp
% Website: https://www.scl.ipc.i.u-tokyo.ac.jp
% November 2021
%
% ------------- BEGIN CODE -------------
fprintf('Loading core VPC-Library...\n')
% add library root folder
libDir = fileparts(mfilename('fullpath'));
addpath(libDir)
% add paths to sub-dependencies
dirs = ["core", "templates"];
for d = dirs
addpath(genpath(fullfile(libDir,d)))
end
% clear workspace variables
clear d dirs libDir mydir
fprintf('[done]\n\n')
% -------------- END CODE --------------