Documentation of iduihelp


Global Index (short | long) | Local contents | Local Index (short | long)


Function Synopsis

iduihelp(file,title)

Help text

IDUIHELP Wrapper function to hthelp.

Cross-Reference Information

This function is called by

Listing of function iduihelp

function iduihelp(file,title)

%   L. Ljung 4-4-95
%   Copyright (c) 1986-98 by The MathWorks, Inc.
%   $Revision: 2.5 $  $Date: 1997/12/02 03:44:33 $

nr = find(file=='.');
file = [file(1:nr) 'htm'];

stat = 1;
htfile=which(file);
if (strncmp(computer,'MAC',3))
   htfile=['file:/' strrep(htfile,filesep,'/')];
end
stat=web(htfile);
if stat==2
   disp(['Could not launch Web browser. Please make sure that' ...
         sprintf('\n') 'you have enough free memory to launch the browser.']);
elseif (stat)
   disp(['Could not load HTML file into Web browser. Please make sure that'...
  sprintf('\n') 'you have a Web browser properly installed on your system.']);
end
if stat hthelp(file);end