MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guida Utente Pagina 427

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 986
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 426
mlreportgen.dom.Document.package
11-47
mlreportgen.dom.Document.package
Package: mlreportgen.dom
Add OPC part files to document package
Syntax
partOut = package(docObj,opcPart)
Description
partOut = package(docObj,opcPart) adds a file specified by an OPC part object to
the OPC package of a document.
Examples
Add Files to a Document Package
This example shows how to use the package method to add special browser processing
code. In this example, the processData.js file operates on the data.json file. This
example assumes that there are data.json and processData.js files in the current
folder.
import mlreportgen.dom.*;
myReport = Document('myDoc','html');
package(myReport,OPCPart('/data/data.json','data.json'));
package(myReport,OPCPart('/js/processData.js','processData.js'))
close(myReport);
Input Arguments
docObj — Document OPC package to add files to
mlreportgen.dom.Document object
Vedere la pagina 426
1 2 ... 422 423 424 425 426 427 428 429 430 431 432 ... 985 986

Commenti su questo manuale

Nessun commento