Main Content

getExportSimulinkSubSystems

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

Subsystem paths and handles to export

Description

example

[paths,handles] = getExportSimulinkSubSystems(wvdoc) returns a cell array of subsystem paths and handles to export.

Input Arguments

expand all

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

Output Arguments

expand all

Subsystem paths in the model, returned as a cell array of character vectors.

Subsystem handles that correspond to the Subsystem paths, returned as an array of character vectors.

Examples

expand all

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

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

  4×1 cell array

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

handles =

  105.0001
  137.0001
  167.0004
  182.0001

More About

expand all

Version History

Introduced in R2017a