Main Content

slreportgen.webview.ExportOptions Class

Namespace: slreportgen.webview

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.

The slreportgen.webview.ExportOptions class is a handle class.

Creation

Description

exportopts = 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.

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 referenced models are exported.

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

More About

expand all

Version History

Introduced in R2017a