You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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;
h.stop;
h.show;
a list of options is available with 'help htm', detailed examples with 'help htm.demo'
Cite As
Christopher Pedersen (2026). htm (https://se.mathworks.com/matlabcentral/fileexchange/37562-htm), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.2.0.0 (21.4 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
