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 Tue, 15 Jan 2008 13:45:31 +0000

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 (2022). 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!