帮助中心帮助中心
关闭 Stateflow 图
sfclose
sfclose all
sfclose chartName
sfclose(___)
示例
sfclose 关闭最近打开或修改的图。关闭 Simulink® 模型中的图会同时关闭模型。
sfclose all 关闭所有打开的图。
sfclose chartName 关闭所有打开的名为 chartName 的图。
chartName
sfclose(___) 支持使用变量或字符串在上述语法中指定输入参量。例如,您可以输入 sfclose(var),其中 var 是设置为 "My Chart" 或 "all" 的变量。
sfclose(var)
var
"My Chart"
"all"
全部折叠
关闭最近打开或修改的 Stateflow® 图。
关闭所有打开的 Stateflow 图。
关闭所有打开的名为 MyChart 的 Stateflow 图。
MyChart
sfclose MyChart
关闭由变量 chart 指定的打开的 Stateflow 图。
chart
chart = "My Chart"; sfclose(chart)
要关闭的 Stateflow 图的名称,指定为字符串标量或字符向量。如果图的名称包含空格,请用引号将图名称括起来。要使用变量或字符串指定图的名称,请调用 sfclose 并将其输入参量括在括号中。
示例: sfclose MyChart
示例: sfclose("My Chart")
sfclose("My Chart")
数据类型: char | string
char
string
在 R2006a 中推出
sfnew | sfopen | sflib | sfsave
sfnew
sfopen
sflib
sfsave
您点击的链接对应于以下 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