image thumbnail

HTMLtable

version 1.0.2 (12.2 KB) by Eric Dziekonski
Generate the code for a CSS/HTML-based data table from an input numeric, string, or cell array with many available formatting options.

102 Downloads

Updated 29 Dec 2020

View License

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 (2021). HTMLtable (https://www.mathworks.com/matlabcentral/fileexchange/74823-htmltable), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
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!