MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Betriebsanweisung Seite 387

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 986
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 386
clone
11-7
import mlreportgen.dom.*;
rpt = Document('MyReport','docx');
c = Container();
Color all of the text in this container red.
c.Style = {Color('red')};
Append content to the container and append the container to the report.
append(c,Paragraph('Hello'));
append(c,Table(magic(5)));
append(rpt,c);
Clone the container.
clonedC = clone(c);
Append the cloned container to the report.
append(rpt,clonedC);
Close and generate the report.
close(rpt);
rptview(rpt.OutputPath);
“Create Object Containers”
“Add Content as a Group”
See Also
mlreportgen.dom.Container | mlreportgen.dom.Group
Introduced in R2015a
Seitenansicht 386
1 2 ... 382 383 384 385 386 387 388 389 390 391 392 ... 985 986

Kommentare zu diesen Handbüchern

Keine Kommentare