MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guide de l'utilisateur Page 855

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 986
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 854
1 2 ... 850 851 852 853 854 855 856 857 858 859 860 ... 985 986

Commentaires sur ces manuels

Pas de commentaire