Report PDF With Landscape Pages including tables

2 次查看(过去 30 天)
The following program produces the first horizontal page and in the following the table is inserted in a horizontal page.
Where's the mistake?
  1 个评论
Cosimo Antonio Prete
The following program produces the first horizontal page and in the following the table is inserted in a horizontal page.
Where's the mistake?
rpt = Report('TabellaStatisticheDelleOperazioni','pdf');
tp = TitlePage;
tp.Title = 'Stato e statistiche delle Operazioni';
tp.Author = 'Società ProSeF, del gruppo XYZ';
tp.Layout.Landscape = true;
add(rpt,tp);
ch1.Title = 'Tabella stato long e short';
tbl = Table(St);

请先登录,再进行评论。

回答(1 个)

Navya Seelam
Navya Seelam 2020-6-16
I don't see any line in the code which is intended to add table to the report. Try adding the following line in your code
add(rpt,tbl ) ;
Go through this example for better understanding

类别

Help CenterFile Exchange 中查找有关 MATLAB Report Generator 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by