getExportStateflowCharts

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

Stateflow chart paths and handles to export

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.

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.

Examples

expand 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

Introduced in R2017a