getExportDiagrams

Class: slreportgen.webview.WebViewDocument
Package: slreportgen.webview

Get names of diagram paths and handles to export

Description

example

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

Examples

expand all

Get the paths and handles for a Web view of the f14 Simulink® model and subsystems.

f14
wvdoc = slreportgen.webview.WebViewDocument('myWebview','f14');
[paths,handles] = getExportDiagrams(wvdoc)
paths =

  5×1 cell array

    'f14'
    'f14/Aircraft Dynamics Model'
    'f14/Controller'
    'f14/Dryden Wind Gust Models'
    'f14/Nz pilot calculation'

handles =

  5×1 cell array

    [ 2.0001]
    [ 7.0001]
    [39.0001]
    [69.0004]
    [84.0001]

Input Arguments

expand all

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

Output Arguments

expand all

Diagram paths in the model, including the model name and its subsystem names, returned as a cell array of character vectors.

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

More About

expand all

Introduced in R2017a