Code covered by the BSD License
generate matgraph html documentation using m2html
0001 function genhtml 0002 % generate matgraph html documentation using m2html 0003 tic 0004 addpath('/Users/ers/Common/Programming/matlab/m2html/') 0005 save_dir = pwd; 0006 cd ~/Common/Programming/ 0007 0008 file_list = cell(1,4); 0009 file_list{1} = 'matgraph'; 0010 file_list{2} = 'matgraph/@graph'; 0011 file_list{3} = 'matgraph/@partition'; 0012 file_list{4} = 'matgraph/@permutation'; 0013 0014 m2html('mfiles',file_list, ... 0015 'htmldir','matgraph/html', ... 0016 'recursive','off' ... 0017 ) 0018 0019 cd matgraph 0020 rmpath('/Users/ers/Common/Programming/matlab/m2html/') 0021 et = toc; 0022 mins = floor(et/60); 0023 secs = round(et - 60*mins); 0024 0025 disp(['Elapsed time: ', int2str(mins), '''', int2str(secs),'"']) 0026 cd(save_dir)
Contact us at files@mathworks.com