from
htmltool
by Bjorn Alsberg The HTML Toolbox (HT) stores various crosslink information about Matlab programs using HTML.
syn_cros(currdir,html_dir,html_file,comment)
function [] = syn_cros(currdir,html_dir,html_file,comment)
% syn_cros(currdir,html_dir,html_file,comment)
% Produces a html files with cross-links to all other
% m-files in current directory. A html file is created
% for every m-file
%
% INPUT PARAMETERS
%
% currdir = current directory for cross-link search
% html_dir = directory containing the results for this search
% html_file = the top-node html file linking to all the results
% from current search
% comment = 0-> do not include comment line below first
% function comment line. 1-> include all comment
% lines
%
% Copyright (c) 1996 B.K. Alsberg
%
[C,G2,M]=crossref(currdir);
str = ['cd ',html_dir];
eval(str);
[n,m]=size(C);
% This is to remove references to itself
C = C - eye(n);
% Writing a html file for each row in C
for i =1:n
end;