Commit 4832caf7 authored by Johannes Klein's avatar Johannes Klein

License agreement cosmetics

Sorry, but that did actually bug me for the longest time....
parent fa366d6a
%% Show the license and its location;
% <ITA-Toolbox>
% This file is part of the ITA-Toolbox. Some rights reserved.
% You can find the license for this m-file in the license.txt file in the ITA-Toolbox folder.
% This file is part of the ITA-Toolbox. Some rights reserved.
% You can find the license for this m-file in the license.txt file in the ITA-Toolbox folder.
% </ITA-Toolbox>
......@@ -21,12 +21,12 @@ if usejava('desktop') %Only if jvm available (non_cluster)
'Yes','No','No');
switch lower(choice)
case 'yes'
fprintf(2,'You have agreed to the license agreement of ITA-Toolbox for MATLAB\n');
fprintf(2,'You accepted the ITA-Toolbox license agreement\n');
case 'no'
fprintf(2,'You have NOT agreed to the license agreement of ITA-Toolbox for MATLAB\n');
fprintf(2,'You did NOT accept to the ITA-Toolbox license agreement\n');
error('License Agreement not accepted.')
end
end
%% set accepted flag in preferences
ita_preferences('license',true);
\ No newline at end of file
ita_preferences('license',true);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment