帮助中心帮助中心
本页采用了机器翻译。点击此处可查看英文原文。
类: slreportgen.webview.WebViewDocument 命名空间: slreportgen.webview
Stateflow 要导出的图路径和句柄
[paths,handles] = getExportStateflowCharts(wvdoc)
示例
[paths,handles] = getExportStateflowCharts(wvdoc) 返回要导出的模型顶层的 Stateflow® 图路径和句柄的数组。
paths
handles
wvdoc
全部展开
slreportgen.webview.WebViewDocument
Web 视图文档,指定为 slreportgen.webview.WebViewDocument 对象。
模型中的 Stateflow 图路径,以字符向量元胞数组形式返回。
与路径相对应的 Stateflow 图句柄。以字符向量数组的形式返回。
获取 sfMediaPlayer Simulink® 模型中 Stateflow 图的路径和句柄。
sfMediaPlayer
openExample('sfMediaPlayer'); wvdoc = slreportgen.webview.WebViewDocument('myWebview','sfMediaPlayer'); [paths,handles] = getExportStateflowCharts(wvdoc)
paths = 3×1 cell array {'sfMediaPlayer/App Interface'} {'sfMediaPlayer/Mode Manager' } {'sfMediaPlayer/Stream Player'} handles = 1×3 Chart array with properties
在 R2017a 中推出
getExportModels | getExportDiagrams | getExportSimulinkSubSystems | getExportStateflowDiagrams
getExportModels
getExportDiagrams
getExportSimulinkSubSystems
getExportStateflowDiagrams
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office