Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

mlreportgen.dom.Document.open

Package: mlreportgen.dom

Syntax

open(docObj)

Description

example

open(docObj) opens a document for appending content.

Examples

collapse all

import mlreportgen.dom.*;
myReport = Document('myDoc','html');

open(myReport);

Input Arguments

collapse all

Document to open, specified as an mlreportgen.dom.Document object.

Tips

  • After you open a document, you can no longer change its generated document type or the template.

  • The append method for a document opens a document if the document is not already opened. Therefore, you rarely need to use the open method.

Introduced in R2014b

Was this topic helpful?