From a7a3f7eb0851f75100abac0ed6ec20e221ee56ac Mon Sep 17 00:00:00 2001 From: david mercier Date: Thu, 21 May 2015 14:37:25 +0200 Subject: [PATCH] updated version of the NIMS toolbox and path for the pdf documentation --- Matlab_Code/gui/customized_menu.m | 2 +- demo.m | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Matlab_Code/gui/customized_menu.m b/Matlab_Code/gui/customized_menu.m index 26ebd90..78617b4 100644 --- a/Matlab_Code/gui/customized_menu.m +++ b/Matlab_Code/gui/customized_menu.m @@ -32,6 +32,6 @@ function customized_menu(parent) 'Label', ... 'PDF Documentation', ... 'Callback', ... - 'web(''https://media.readthedocs.org/pdf/nims/latest/nims.pdf'',''-browser'')'); + 'gui = guidata(gcf); web(gui.config.pdf_help,''-browser'')'); end \ No newline at end of file diff --git a/demo.m b/demo.m index 904dc11..0d9f2e2 100644 --- a/demo.m +++ b/demo.m @@ -25,8 +25,9 @@ %% Set Toolbox version and help paths gui.config.name_toolbox = 'NIMS'; -gui.config.version_toolbox = '2.5'; +gui.config.version_toolbox = '2.6'; gui.config.url_help = 'http://nims.readthedocs.org/en/latest/'; +gui.config.pdf_help = 'https://media.readthedocs.org/pdf/nims/latest/nims.pdf'; %% Main Window Coordinates Configuration scrsize = get(0, 'ScreenSize'); % Get screen size