帮助中心帮助中心
根据建模标准以交互方式检查您的模型
edittime.setAdvisorChecking(model,value)
示例
edittime.setAdvisorChecking(model,value) 指定是否使用模型顾问根据建模标准以交互方式检查您的模型。此函数等效于选择建模 > 模型顾问 > 编辑时检查并选中编辑时检查复选框。
model
value
全部折叠
以交互方式检查您的模型。
打开 vdp 示例模型。
vdp
openExample('vdp')
打开编辑时检查。
edittime.setAdvisorChecking('vdp','on')
确认编辑时检查已打开。
edittime.getAdvisorChecking('vdp')
要对其应用编辑时检查的模型。
数据类型: char
char
要打开编辑时检查,请将 value 设置为 on。要关闭编辑时检查,请将 value 设置为 off。
on
off
在 R2019a 中推出
edittime.getAdvisorChecking
您点击的链接对应于以下 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