forked from gamaleldin/TME
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstartup.m
21 lines (20 loc) · 1.47 KB
/
startup.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% <TME>
% Copyright (C) 2017 Gamaleldin F. Elsayed and John P. Cunningham
% (see full notice in README)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This is a startup file which initializes Matlab's settings to
% allow for better use of this package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
path(sprintf('%s/genTME', pwd), path) % Adds the subdirectories of the root folder to the path, allowing us to call functions from them.
path(sprintf('%s/util', pwd), path) % Adds the subdirectories of the root folder to the path, allowing us to call functions from them.
path(sprintf('%s/util/lbfgsb', pwd), path) % Adds the subdirectories of the root folder to the path, allowing us to call functions from them.
path(sprintf('%s/test', pwd), path) % Adds the subdirectories of the root folder to the path, allowing us to call functions from them.
path(sprintf('%s/data', pwd), path) % Adds the subdirectories of the root folder to the path, allowing us to call functions from them.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%This simply clears all variables and closes all windows opened by Matlab.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
close all
clear all