HTMLtable
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 (2024). HTMLtable (https://github.com/Neopentane1/HTMLtable/releases/tag/v1.0.3), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: Html Table Writer, Display data as an HTML table
Inspired: Model Review Tool
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
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 |