Display data as an HTML table
Editor's Note: This file was selected as MATLAB Central Pick of the Week
This is intended to be a simple way to display 2D or 3D table data with support for row and column labels.
It can also save the HTML code to a file, which can then be used elsewhere.
The function supports nested tables.
Cite As
Gus Brown (2026). Display data as an HTML table (https://au.mathworks.com/matlabcentral/fileexchange/18329-display-data-as-an-html-table), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Matrices and Arrays >
- MATLAB > Language Fundamentals > Data Types > Cell Arrays >
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Other Formats >
Tags
Acknowledgements
Inspired: HTMLtable
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | I have Zipped the file to avoid any download problems. I think the presence of HTML code in the file prevents it from being downloaded correctly. |
