Create Model Web Views

Create and navigate interactive web views of models, and create embedded web view reports

Web views are interactive renditions of models that you can view in a web browser. Embedded web views are HTML reports that contain web views. You export a model to web views. Both web views and embedded web views can include specific model objects and both contain hyperlinks to navigate the model.

Functions

expand all

slwebviewExport Simulink models to Web views
fillFill report holes
fillslwebviewCreate and insert a web view in an HTML document
getExportDiagramsGet names of diagram paths and handles to export
getExportModelsModel paths and handles to export
getExportSimulinkSubSystemsSubsystem paths and handles to export
getExportStateflowChartsStateflow chart paths and handles to export
getExportStateflowDiagrams Stateflow chart hierarchy paths and handles to export
appendAppend content to a web view document
slwebviewExport Simulink models to Web views
createDiagramTwoWayLinkLink and anchor in embedded Web view report
createElementTwoWayLinkElement link and anchor in embedded Web view report
createDiagramLinkLink to embedded Web view report
createElementLinkElement link in embedded Web view report
getReportObject Returns the report object for an embedded web view report

Classes

slreportgen.webview.WebViewDocumentCreate a web view document generator
slreportgen.webview.EmbeddedWebViewDocumentCreate a report generator that generates an HTML report containing an interlinked document and associated web view
slreportgen.webview.ExportOptionsOptions for exporting Simulink model to web view

Topics

Export Models to Web View Files

Export Simulink® and Stateflow® models to web views.

Create and Use a Web View

Export models to web views and navigate the views.

Create an Embedded Web View Report Generator

Generate an Embedded Web View report.

Specify Document Content for Embedded Web View Report

Specify content by using the DOM and Report API.

Specify Export Options for Embedded Web View Report

Include referenced models in an Embedded Web View report.

Get Model Objects for Embedded Web View Report

Obtain model objects to export.

Display and Navigate a Web View

Use a browser to explore your web view.

Include Model Requirements and Coverage Data in a Web View

Capture and view optional web views.

Generate Table of Contents for Embedded Web View Report

Include table of contents in an Embedded Web View report.

Create Hyperlinks for Embedded Web View Report

Add hyperlinks between report document and model web view.

Search a Web View

Specify search criteria and search a web view.

Suppress Link Warning Messages for Embedded Web View Report

Suppress hyperlink warning messages.

Generate an Embedded Web View Report

Create an instance of the report generator and call the fill and close methods.

Web Views

Overview of web views and their key features.

Generate Reports Without Customizing

Use predefined reports, report elements, and web views.

Embedded Web View Reports

Overview of reports that include hyperlinked table of contents, document, and model web view panes.