HTMLtable

Generate the code for a CSS/HTML-based data table from an input numeric, string, or cell array with many available formatting options.

https://github.com/Neopentane1/HTMLtable

You are now following this Submission

Generate the code for an CSS/HTML-based data table from an input numeric, string, or cell array.
The generated HTML code is compatible with any browser and app designer ('HTMLSource' for an HTML element).
With 60 user adjustable parameters, and multiple accepted input formats, the table can be customized in virtually any way.
All parameters are invoked via name-value pairs and validated.

Please read the description at the beginning of the function for details of the arguments and examples.

This function does not support nested tables, i.e., cells within cells, as many parameters need to be matched to the width or height of the table.

Cite As

Eric Dziekonski (2026). HTMLtable (https://github.com/Neopentane1/HTMLtable/releases/tag/v1.0.3), GitHub. Retrieved .

Acknowledgements

Inspired by: Html Table Writer, Display data as an HTML table

Inspired: Model Review Tool

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

See release notes for this release on GitHub: https://github.com/Neopentane1/HTMLtable/releases/tag/v1.0.3

1.0.2

Updated to prevent premature shortcutting of the data font/background colors

1.0.1

Implemented the str2func suggestion by Stephen Cobeldick to get rid of any eval functions. Several bug fixes,

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.