MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guia do Utilizador Página 387

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 986
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 386
1 2 ... 382 383 384 385 386 387 388 389 390 391 392 ... 985 986

Comentários a estes Manuais

Sem comentários