MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guida Utente Pagina 855

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 986
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la 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
Vedere la pagina 854
1 2 ... 850 851 852 853 854 855 856 857 858 859 860 ... 985 986

Commenti su questo manuale

Nessun commento