table2html

table2html(T) generates an html table from mathlayer table T.

Examples

Name = {'John';'Marc';'Sam';'Toni'}	

% create a table

Grades = {'B';'A';'B';'F'}; DOB = {'02-Jun-2012';'12-Feb-2012';'04-Oct-2011';'29-Aug-2012'} T = table(Name,Grades,DOB) table2html(T)

% convert table T into an html table

John B 02-Jun-2012
Marc A 12-Feb-2012
Sam B 04-Oct-2011
Toni F 29-Aug-2012

Related documentation

HTML - Tips To Control HTML Tables

See also

table | html