V_M2HTMLPWD - create html documentation of files in current directory M2HTML must be on the matlab path available from http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=4039&objectType=FILE
0001 %V_M2HTMLPWD - create html documentation of files in current directory 0002 % 0003 % M2HTML must be on the matlab path 0004 % available from http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=4039&objectType=FILE 0005 0006 % Copyright (C) Mike Brookes 1998 0007 % Version: $Id: v_m2htmlpwd.m 10865 2018-09-21 17:22:45Z dmb $ 0008 % 0009 % VOICEBOX is a MATLAB toolbox for speech processing. 0010 % Home page: http://www.ee.ic.ac.uk/hp/staff/dmb/voicebox/voicebox.html 0011 % 0012 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0013 % This program is free software; you can redistribute it and/or modify 0014 % it under the terms of the GNU General Public License as published by 0015 % the Free Software Foundation; either version 2 of the License, or 0016 % (at your option) any later version. 0017 % 0018 % This program is distributed in the hope that it will be useful, 0019 % but WITHOUT ANY WARRANTY; without even the implied warranty of 0020 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0021 % GNU General Public License for more details. 0022 % 0023 % You can obtain a copy of the GNU General Public License from 0024 % http://www.gnu.org/copyleft/gpl.html or by writing to 0025 % Free Software Foundation, Inc.,675 Mass Ave, Cambridge, MA 02139, USA. 0026 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0027 0028 pd=pwd; 0029 tl=pd(max([find(pd=='\') find(pd=='/')])+1:end); 0030 cd('..'); 0031 m2html('mfiles',tl,'htmldir',[tl '\doc']); 0032 cd(pd); 0033 winopen(['doc\' tl '\index.html']);