Report PDF With Landscape Pages including tables

2 vues (au cours des 30 derniers jours)
Cosimo Antonio Prete
Cosimo Antonio Prete le 13 Juin 2020
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 commentaire
Cosimo Antonio Prete
Cosimo Antonio Prete le 13 Juin 2020
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);

Connectez-vous pour commenter.

Réponses (1)

Navya Seelam
Navya Seelam le 16 Juin 2020
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

Catégories

En savoir plus sur MATLAB Report Generator dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by