IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
demo_classes_html.m
Go to the documentation of this file.
1 %> @brief Generates IRootLab classes hierarchical tree in HTML, using object colors.
2 %> @ingroup demo introspection
3 %> @file
4 
6 global CLASSMAP;
7 
8 s = stylesheet();
9 s = cat(2, s, CLASSMAP.root.to_html());
10 
11 filename = 'irr_classes.html';
12 h = fopen(filename, 'w');
13 fwrite(h, s);
14 fclose(h);
15 
16 web(filename, '-new');
function classmap_assert()
function stylesheet()