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

Check out the "help html", testhtml.m and TestObj and ultimately the code to see how it works.

You are now following this Submission

%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://www.mathworks.com/matlabcentral/fileexchange/49969-convert-classdef-table-plot-to-html-as-a-report), MATLAB Central File Exchange. Retrieved .

Categories

Find more on MATLAB Report Generator in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0