Display data as an HTML table

Version (4.17 KB) by Gus Brown
Display a matrix or cell array as a HTML formatted table


Updated 15 Jan 2008

View License

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 (2023). Display data as an HTML table (https://www.mathworks.com/matlabcentral/fileexchange/18329-display-data-as-an-html-table), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: HTMLtable

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

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.