Main Content

getExportModels

Class: slreportgen.webview.WebViewDocument
Namespace: slreportgen.webview

Model paths and handles to export

Description

[paths,handles] = getExportModels(wvdoc) returns an array of model paths and handles to export.

example

Input Arguments

expand all

Web view document, specified as an slreportgen.webview.WebViewDocument object.

Output Arguments

expand all

Model paths in the model, returned as an array of character vectors.

Diagram handles that correspond to the diagram paths. returned as an array of character vectors.

Examples

expand all

Get the path and handle for a Web view of the f14 Simulink® model.

openExample('f14')
wvdoc = slreportgen.webview.WebViewDocument('myWebview','f14');
[path,handle] = getExportModels(wvdoc)
path =

  cell

    'f14'

handle =

  100.0002

Version History

Introduced in R2017a