Commit cacdc36d authored by mbe's avatar mbe

resolved path problem in ita_help

parent 209ff38b
......@@ -11,11 +11,12 @@ function ita_help(varargin)
% Created: 19-Jun-2009
%% Get ITA Toolbox preferences and Function String
helppath = [ita_toolbox_path filesep 'HTML' filesep 'doc'];
helppath = fullfile(ita_toolbox_path, 'HTML', 'doc');
if ~exist(helppath,'dir')
helpdlg('No help found. Run "Help" => "Generate Documentation"');
ita_verbose_info('No help found. Please run ita_generate_documentation to generate it.',0);
else
web index.html -helpbrowser
web(fullfile(helppath, 'index.html'),'-helpbrowser')
end
end
\ No newline at end of file
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