帮助中心帮助中心
本页采用了机器翻译。点击此处可查看英文原文。
在“需求”选项卡中显示列
自 R2022a 起
showRequirementColumn(reqTable,column)
示例
showRequirementColumn(reqTable,column) 显示 Requirements Table 模块 reqTable 中需求选项卡 column 指定的列类型。
reqTable
column
全部折叠
使用 slreq.modeling.find 在模型中查找 Requirements Table模块。
slreq.modeling.find
reqTable = slreq.modeling.find("myModel");
在需求选项卡中显示后条件列。
showRequirementColumn(reqTable,"Postconditions");
RequirementsTable
Requirements Table模块,指定为 RequirementsTable 对象。
"Duration"
"Actions"
"Postconditions"
要显示的列类型,指定为 "Duration"、"Actions" 或 "Postconditions"。使用此参量分别显示持续时间、操作或后条件列。
数据类型: enumerated
enumerated
在 R2022a 中推出
hideRequirementColumn
showAssumptionColumn
hideAssumptionColumn
您点击的链接对应于以下 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