www.gusucode.com > rptgen 案例源码程序 matlab代码 > rptgen/ColoraTableRowExample.m
%% Color a Table Row %% % Color the second row of a table. import mlreportgen.dom.*; myReport = Document('myDoc','html'); t = Table(magic(5)); te = row(t,2); te.Style = {Color('red')}; append(myReport,t); close(myReport); rptview(myReport.OutputPath);