MATLAB Answers

Report PDF With Landscape Pages including tables

1 ビュー (過去 30 日間)
Cosimo Antonio Prete
Cosimo Antonio Prete 2020 年 6 月 13 日
回答済み: Navya Seelam 2020 年 6 月 16 日
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
Cosimo Antonio Prete 2020 年 6 月 13 日
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

  0 件のコメント

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by