MATLAB 帮助中心
本页采用了机器翻译。点击此处可查看最新英文版本。
类: slreq.Justification 命名空间: slreq
删除申述项
count = remove(jt, 'PropertyName', PropertyValue)
count = remove(jt, 'PropertyName', PropertyValue) 删除属于父申述 jt 的子申述项,并附加由 PropertyName 和 PropertyValue 指定的属性。以 count 形式返回已删除的项数。
count
jt
'PropertyName'
PropertyValue
PropertyName
全部展开
slreq.Justification
父级申述,指定为 slreq.Justification 对象。
double
删除的申述项的数量,以双精度形式返回。
加载需求集文件。
rs = slreq.load('C:\MATLAB\My_Requirements_Set_1.slreqx');
在需求集查找申述对象。
myJustifications = find(rs, 'Type', 'Justification')
myJustifications = 1×10 Justification array with properties: Id Summary Description Keywords Rationale CreatedOn CreatedBy ModifiedBy SID FileRevision ModifiedOn Dirty Comments
删除 Jane Doe 创建的其中一个申述对象。
count = remove(myJustifications(1), 'CreatedBy', 'Jane Doe')
count = 1
在 R2018b 中推出
add
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 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处