Documentation

slreportgen.webview.ExportOptions class

Package: slreportgen.webview
Superclasses:

Options for exporting Simulink model to web view

Description

Use an slreportgen.webview.ExportOptions object to specify the items to export to a web view or an embedded web view report.

Construction

exportopts = wvdoc.slreportgen.webview.ExportOptions(wvdoc) creates an export options object, exportopts, for the wvdoc web view or embedded web view document. wvdoc is created using slreportgen.webview.WebViewDocument or slreportgen.webview.EmbeddedWebViewDocument. When you create a Web view or embedded Web view document, an export options object is created automatically.

Input Arguments

expand all

Web view document, specified as a Web view or embedded Web view object.

Output Arguments

expand all

Export options, returned as a class containing properties that specify what to export to a web view document.

Properties

expand all

Diagram or diagrams to export to the web view, specified as a character vector.

System and subsystem levels to export, specified as one of:

  • Current and Below — Current specified system or subsystem and all of its dependents.

  • Current — Current specified system or subsystem

  • Current and Above — Current specified system or subsystem and all of its antecedents

  • All — All systems and subsystems in the model

Option to export masked subsystems, specified as a logical. If you set IncludeMaskedSystems to False, no masked subsystems are exported. If you set it to True, all masked subsystems are exported.

Option to export referenced models, specified as a logical. If you set IncludeReferencedModels to False, no masked subsystems are exported. If you set it to True, all masked subsystems are exported.

Function to determine whether to export a system and its descendents, specified as a function name or function handle. The function must return True to include the system or False to exclude the system.

Definitions

expand all

Introduced in R2017a

Was this topic helpful?