simple interface for writing information to html files


Updated 22 Aug 2013

View License

htm is an object-oriented interface to allow simplified writing of information to html files, without worrying about the detail of html syntax.

A simple example is:
h = htm('test.html');
if h.exist; h.clear; end %deletes the file if it exists
h.start; %opens the file for writing
h.h1('I am a header');
h.text('I am some text','nl');
h.figure(gcf); h.newline;
h.table([1 2 3 ; 4 5 6]); h.newline;

a list of options is available with 'help htm', detailed examples with 'help htm.demo'

Cite As

Christopher Pedersen (2023). htm (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on MATLAB Report Generator in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Version Published Release Notes

Various bugfixes, including improved handling of metadata.