Updated 13 Jan 2022
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.
Eric Dziekonski (2023). HTMLtable (https://github.com/Neopentane1/HTMLtable/releases/tag/v1.0.3), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: Model Review Tool
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
See release notes for this release on GitHub: https://github.com/Neopentane1/HTMLtable/releases/tag/v1.0.3
Updated to prevent premature shortcutting of the data font/background colors
Implemented the str2func suggestion by Stephen Cobeldick to get rid of any eval functions. Several bug fixes,