Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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
slreportgen.webview.WebViewDocument.fillFill report holes
slreportgen.webview.WebViewDocument.fillslwebviewCreate and insert a web view in an HTML document
slreportgen.webview.WebViewDocument.getExportDiagramsGet names of diagram paths and handles to export
slreportgen.webview.WebViewDocument.getExportModelsModel paths and handles to export
slreportgen.webview.WebViewDocument.getExportSimulinkSubSystemsSubsystem paths and handles to export
slreportgen.webview.WebViewDocument.getExportStateflowChartsStateflow chart paths and handles to export
slreportgen.webview.WebViewDocument.getExportStateflowDiagrams Stateflow chart hierarchy paths and handles to export
slreportgen.webview.WebViewDocument.appendAppend content to a web view document
slwebviewExport Simulink models to Web views
slreportgen.webview.EmbeddedWebViewDocument.createDiagramTwoWayLinkLink and anchor in embedded Web view report
slreportgen.webview.EmbeddedWebViewDocument.createElementTwoWayLinkElement link and anchor in embedded Web view report
slreportgen.webview.EmbeddedWebViewDocument.createDiagramLinkLink to embedded Web view report
slreportgen.webview.EmbeddedWebViewDocument.createElementLinkElement link in 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

Examples and How To

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

Add headings, sections, and paragraphs

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.

Capture and View Optional Web View Information

Optional views include, for example, model coverage and requirements.

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

Concepts

Web Views

Overview of Web views and their key features

Generate Reports Without Customizing

Use predefined reports, report elements, and Web Views

Optional Web Views

Optional Web views provide information about a model in addition to the standard Web view information about blocks and signals in a model.

Embedded Web View Reports

Overview of reports that include hyperlinked table of contents, document, and model Web View panes

Was this topic helpful?