MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Uživatelská příručka Strana 855

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 986
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 854
1 2 ... 850 851 852 853 854 855 856 857 858 859 860 ... 985 986

Komentáře k této Příručce

Žádné komentáře