forked from matt-weinstein/adigator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
startupadigator.m
executable file
·36 lines (31 loc) · 1.74 KB
/
startupadigator.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
% startupadigator: will add adigator directories to the Matlab path.
% Copyright 2011-2014 Matthew J. Weinstein and Anil V. Rao
% Distributed under the GNU General Public License version 3.0
currpath = pwd;
addpath(currpath);
addpath([currpath,filesep,'lib']);
addpath([currpath,filesep,'lib',filesep,'cadaUtils']);
addpath([currpath,filesep,'util']);
fprintf(' ADiGator Successfully Installed\n\n')
copyingfile = [currpath,filesep,'COPYING.txt'];
if strcmp(filesep,'\');copyingfile = regexprep(copyingfile,'\\','\\\\'); end
COPYINGlink = ['<a href="matlab: opentoline(''',copyingfile,''',1)">COPYING.txt</a>'];
COPYINGurl = '<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>';
fprintf([...
' ADiGator is free software: you can redistribute it and/or modify\n',...
' it under the terms of the GNU General Public License as published by\n',...
' the Free Software Foundation, either version 3 of the License, or\n',...
' (at your option) any later version.\n',...
' \n',...
' ADiGator is distributed in the hope that it will be useful,\n',...
' but WITHOUT ANY WARRANTY; without even the implied warranty of\n',...
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n',...
' GNU General Public License for more details.\n',...
' \n',...
' You should have received a copy of the GNU General Public License\n',...
' along with ADiGator at ',COPYINGlink,'.\n',...
' If not, see ',COPYINGurl,'.\n\n']);
adigatorurl = '<a href="http://sourceforge.net/projects/adigator/">http://sourceforge.net/projects/adigator/</a>';
fprintf([...
' For updated versions of the code please visit the sourceforge page\n',...
' at ',adigatorurl,'.\n Please report any bugs to the sourceforge forums.\n']);