slreportgen.webview.WebViewDocument Class
Namespace: slreportgen.webview
Create a web view document generator
Description
Creates a document generator that generates an HTML document containing a web view of one or more Simulink® models.
The slreportgen.webview.WebViewDocument
class is a handle
class.
Creation
Description
creates
a document generator that includes two or more models in the web view that
it creates. This constructor assigns an array of default
wvdocgen
= slreportgen.webview.WebViewDocument(docname
,model1
,model2
,...modeln
)slreportgen.webview.ExportOptions
objects to the
generator’s ExportOptions
property, one for each of the
models to be included in the generated document’s web view. You can use the
objects to specify custom export options for the models to be
exported.
assigns a default wvdoc
gen = slreportgen.webview.WebViewDocument(docname
,{model1
,model2
,...modeln
})slreportgen.webview.ExportOptions
object to
the generator’s ExportOptions
property that applies to
all of the models to be exported.
creates a web view document generator for an initially unspecified model or
set of models. Use the wvdocgen
= slreportgen.webview.WebViewDocument(docname
)Systems
property of the
generator’s ExportOptions
property to specify the model
or models to be included in the web view that it generates.
Input Arguments
Properties
Methods
Examples
Version History
Introduced in R2017a