Documentation

slreportgen.webview.WebViewDocument.getExportStateflowCharts

Package: slreportgen.webview

Stateflow chart paths and handles to export

Syntax

[paths,handles] = getExportStateflowCharts(wvdoc)

Description

example

[paths,handles] = getExportStateflowCharts(wvdoc) returns an array of the Stateflow® chart paths and handles at the top level of the model to export.

Examples

collapse all

Get the paths and handles for Stateflow charts in the sf_cdplayer Simulink® model.

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

  3×1 cell array

    'sf_cdplayer/CdPlayerBehaviorModel'
    'sf_cdplayer/CdPlayerModeManager'
    'sf_cdplayer/UserRequest'

handles =

	Stateflow.Chart: 1-by-3

Input Arguments

collapse all

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

Output Arguments

collapse all

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

Stateflow chart handles that correspond to the paths. returned as an array of character vectors.

Introduced in R2017a

Was this topic helpful?