MATLAB 帮助中心
本页采用了机器翻译。点击此处可查看最新英文版本。
类: slreq.Reference 命名空间: slreq
返回父级需求集
rsout = reqSet(ref)
rsout = reqSet(ref) 返回引用需求 rsout 所属的父需求集 ref。
rsout
ref
全部展开
slreq.Reference
引用的需求,指定为 slreq.Reference 对象。
slreq.ReqSet
引用需求 ref 的父需求集,作为 slreq.ReqSet 对象返回。
% Load a new requirement set file and select one referenced requirement rs = slreq.load('C:\MATLAB\My_Requirements_Set_1.slreqx'); allRefs = find(rs,'Type','Reference'); ref = allRefs(1); % Query which requirement set ref belongs to reqSet(ref) ans = ReqSet with properties: Description: '' Name: 'My_Requirements_Set_1' Filename: 'C:\MATLAB\My_Requirements_Set_1.slreqx' Revision: 65 Dirty: 0 CustomAttributeNames: {}
在 R2018a 中推出
slreq.Reference | slreq.ReqSet | parent
parent
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 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处