convert classdef, table, plot, ... to html as a report

Version 1.0.0.0 (6.86 KB) by Roland
Check out the "help html", testhtml.m and TestObj and ultimately the code to see how it works.
126 Downloads
Updated 10 Mar 2015

View License

%Example 1
evalc(html.tags('h1','p','em','br','strong'));
h = html(html.HEAD,H1('htmltest'),P(' some ',BR(),EM('text'),BR(),STRONG('this is strong')));
h.rep('title','htmltest');
h.write('htmltest.html');
%Example 2
html.reset_imgfiles();
rn = TestObj();
rn.run();
rnr = html.iterobj(rn,2);
h = html(html.HEAD,'<h1>Device X1</h1>',rnr);
h.rep('title','X1');
h.write('X1.html');
html.reset_imgfiles();

Cite As

Roland (2026). convert classdef, table, plot, ... to html as a report (https://in.mathworks.com/matlabcentral/fileexchange/49969-convert-classdef-table-plot-to-html-as-a-report), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on MATLAB Report Generator in Help Center and MATLAB Answers
Tags Add Tags
Version Published Release Notes
1.0.0.0