What is the difference between the Report and the Document objects?

6 Ansichten (letzte 30 Tage)
Jack Arnoldi
Jack Arnoldi am 16 Jul. 2019
Beantwortet: Rahul Singhal am 21 Feb. 2020
I am coding a to generate a report on Matlab and in the Matlab Report Generator documentation they advice at the very beginning to use the Report object to create a report.
But when you start searching for coding examples you mostly get example with the Document object.
So what are the differences between the two objects? I know there's a difference in adding child objects to it because in the Report you mostly use add but it doesn't always work with Documentwhere you have to use append but I still don't exactly know when. And also that you can't use 'moveToNextHole()' on Report...
  1 Kommentar
Osman Ciftci
Osman Ciftci am 6 Dez. 2019
This is a very good question I am surprised that this is not answered yet. I would like to find out about the answer as well.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Rahul Singhal
Rahul Singhal am 21 Feb. 2020
See the Reporters and DOM Objects section in:

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by