make_mfile_docs: Regenerate the documentation for the ctdcal mfiles.. CTD Calibration toolbox - devel utilities not for distribution INPUT: None OUTPUT: The documentation is written to /doris/snowden/devel/ctdcal/doc DESCRIPTION: This function is a development tool and isn't part of the main toolbox. It only works on my computer. CHANGELOG: 08-Jul-2004, Version 1.0 * Initial version. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 function theResult = make_mfile_docs 0002 % make_mfile_docs: Regenerate the documentation for the ctdcal mfiles.. 0003 % 0004 % CTD Calibration toolbox - devel utilities not for distribution 0005 % 0006 % INPUT: 0007 % None 0008 % 0009 % OUTPUT: 0010 % The documentation is written to 0011 % /doris/snowden/devel/ctdcal/doc 0012 % 0013 % DESCRIPTION: This function is a development tool and isn't part of 0014 % the main toolbox. It only works on my computer. 0015 % 0016 % CHANGELOG: 0017 % 08-Jul-2004, Version 1.0 0018 % * Initial version. 0019 % 0020 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0021 0022 addpath /home/snowden/matlab/doctools/m2html/ 0023 0024 thisDir = '/doris/snowden/devel/ctdcal'; % NO TRAILING / 0025 cd(thisDir) 0026 d = thisDir; 0027 while d 0028 [toolBox,d] = strtok(d,filesep); 0029 end 0030 makecontents([toolBox ' - AOML/PhOD CTDO2 Calibration Toolbox'],'rp'); 0031 cd .. 0032 m2html('mfiles',toolBox, 'htmldir',[toolBox '/doc'],... 0033 'source','on','global','on','recursive','on','todo','on',... 0034 'graph','on','tabs',4,'index','ctdcal') 0035 0036 return 0037 0038