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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 986
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 854
Create a Report Program
13-3
Create a Report Program
The MATLAB Report Generator includes a set of functions, called the DOM (Document
Object Model) API, that allows you to generate Word, HTML, and PDF reports
programmatically. For example, the following MATLAB script uses the API to generate
and display an HTML report displaying today’s date.
import mlreportgen.dom.*;
report = Document('today');
append(report, ['Today is ', date, '.']);
close(report);
rptview(report.OutputPath);
To get started learning about creating reports with the DOM API, see “Document Object
Model” on page 13-4.
More About
“Document Object Model” on page 13-4
Vista de pagina 854
1 2 ... 850 851 852 853 854 855 856 857 858 859 860 ... 985 986

Comentarios a estos manuales

Sin comentarios