Main Content


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

Stateflow chart paths and handles to export



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

Input Arguments

expand all

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

Output Arguments

expand 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.


expand all

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

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

  3×1 cell array

    {'sf_cdplayer/CD Player Behavior Model' }
    {'sf_cdplayer/Media Player Mode Manager'}
    {'sf_cdplayer/User Request'             }

handles =

	Stateflow.Chart: 1-by-3

Version History

Introduced in R2017a