MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guía de usuario Pagina 387

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 986
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 386
1 2 ... 382 383 384 385 386 387 388 389 390 391 392 ... 985 986

Comentarios a estos manuales

Sin comentarios