QCATDOC - View QCAT documentation in Matlab's Help browser.
0001 function qcatdoc 0002 0003 % QCATDOC - View QCAT documentation in Matlab's Help browser. 0004 0005 % Get path 0006 s = which('qcatdoc'); 0007 % Extract directory 0008 slash = strfind(s,'/'); 0009 if isempty(slash) 0010 % PC platform -> look for backslash instead 0011 slash = strfind(s,'\'); 0012 end 0013 s = s(1:slash(end-1)); 0014 % Open documentation in browser. 0015 web(strcat(s,'doc/index.html'))