MATLAB 帮助中心
本页采用了机器翻译。点击此处可查看最新英文版本。
清除 Requirements Table 模块中的行
自 R2022a 起
clear(row)
clear(row,column)
clear(row) 清除需求或假设中的行内容,row。
row
示例
clear(row,column) 清除行的指定列。
column
全部折叠
检索 Requirements Table 模块中的需求并清除第一个需求。
requirements = getRequirementRows(reqTable); clear(requirements(1));
检索 Requirements Table 模块中的假设并清除第一个假设。
assumptions = getAssumptionRows(reqTable); clear(assumptions(1));
检索 Requirements Table 模块中的需求并清除第一个需求的预条件。
requirements = getRequirementRows(reqTable); clear(requirements(1),"Preconditions");
RequirementRow
AssumptionRow
Requirements Table 模块中的需求或假设,指定为 RequirementRow 或 AssumptionRow 对象。要检索行,请使用 getRequirementRows、getAssumptionRows 或 getChildren。
getRequirementRows
getAssumptionRows
getChildren
"Summary"
"Preconditions"
"Duration"
"Postconditions"
"Actions"
""
要清除的列类型,指定为 "Summary"、"Preconditions"、"Duration"、"Postconditions"、"Actions" 或者空字符串标量或字符向量。如果 row 是一个动作,那么您只能清除摘要、预条件或后条件。如果将 column 指定为空字符串标量或字符向量,该函数将清除整行。
数据类型: enumerated
enumerated
在 R2022a 中推出
RequirementsTable | RequirementRow | AssumptionRow
RequirementsTable
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处