Model Web Views

Interactively create and navigate 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 included 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

How to export Simulink® and Stateflow® models to Web views

Create and Use a Web View

Export models to Web views and navigate the view.

Create an Embedded Web View Report Generator

How to create 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

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.

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

Run the Embedded Web View

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.