Skip to content
Snippets Groups Projects
Commit 6e6535c7 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

clean up about info

parent 9b4058f6
Branches
No related tags found
No related merge requests found
function show_error(error_msg, ME, mode) function show_error(error_msg, ME, mode)
% function show_error(error_msg, ME, mode) % function show_error(error_msg, ME, mode)
% interface for displaying Dynare_GUI error message in Matlab error dialog box % interface for displaying Dynare GUI error message in Matlab error dialog box
% %
% INPUTS % INPUTS
% error_msg: error message which is displayed % error_msg: error message which is displayed
...@@ -32,7 +32,7 @@ function show_error(error_msg, ME, mode) ...@@ -32,7 +32,7 @@ function show_error(error_msg, ME, mode)
if nargin == 1 if nargin == 1
errordlg(error_msg,'Dynare_GUI Error','modal'); errordlg(error_msg,'Dynare GUI Error','modal');
else else
errosrStr = [sprintf('%s:\n\n', error_msg),... errosrStr = [sprintf('%s:\n\n', error_msg),...
sprintf('%s\n\n', ME.message)]; sprintf('%s\n\n', ME.message)];
...@@ -41,7 +41,7 @@ else ...@@ -41,7 +41,7 @@ else
errosrStr = [errosrStr, sprintf('Full error report:\n %s\n', getReport(ME,'extended', 'hyperlinks','off'))]; errosrStr = [errosrStr, sprintf('Full error report:\n %s\n', getReport(ME,'extended', 'hyperlinks','off'))];
end end
errordlg(errosrStr,'Dynare_GUI Error','modal'); errordlg(errosrStr,'Dynare GUI Error','modal');
gui_tools.project_log_entry(error_msg, ME.message); gui_tools.project_log_entry(error_msg, ME.message);
end end
......
...@@ -45,8 +45,7 @@ panel = uipanel( ... ...@@ -45,8 +45,7 @@ panel = uipanel( ...
'Title', '', ... 'Title', '', ...
'BorderType', 'none'); 'BorderType', 'none');
aboutStr ={'';'';'';'';'Dynare_GUI v.0.7';'';'';'Release date: June 30 2016'; '';... aboutStr ={'Dynare GUI v.0.7';};
'Developed by Dynare Team and Milica Labus (milica.labus@belox.rs)'; ''; ''; '........' };
fsize = get(0,'defaultuicontrolFontSize') + 2; fsize = get(0,'defaultuicontrolFontSize') + 2;
uicontrol(panel, 'style','text', 'FontSize', fsize, 'Units','normalized', ... uicontrol(panel, 'style','text', 'FontSize', fsize, 'Units','normalized', ...
......
...@@ -46,8 +46,8 @@ panel = uipanel( ... ...@@ -46,8 +46,8 @@ panel = uipanel( ...
'BorderType', 'none'); 'BorderType', 'none');
termOfUseStr = {... termOfUseStr = {...
'This is Dynare_GUI, version 0.7';'';'';... 'Dynare GUI, version 0.7';'';'';...
'Copyright © 1996-2018, Dynare Team';'';... 'Copyright © 1996-2018, Dynare Team';'';...
'Permission is granted to copy, distribute and/or modify this code under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.';'';... 'Permission is granted to copy, distribute and/or modify this code under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.';'';...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment