reqSet
类: slreq.Requirement
命名空间: slreq
返回父级需求集
语法
rsout = reqSet(req)
输入参数
req
— 需求对象
slreq.Requirement
对象
需求,指定为 slreq.Requirement
对象。
输出参量
rsout
— 父需求集
slreq.ReqSet
对象
需求 req
的父需求集,作为 slreq.ReqSet
对象返回。
示例
查询需求集信息
% Load a new requirement set file and select one requirement rs = slreq.load('C:\MATLAB\My_Requirements_Set_1.slreqx'); allReqs = find(rs, 'Type', 'Requirement'); req = allReqs(1); % Query which requirement set req belongs to reqSet(req) ans = ReqSet with properties: Description: '' Name: 'My_Requirements_Set_1' Filename: 'C:\MATLAB\My_Requirements_Set_1.slreqx' Revision: 63 Dirty: 0 CustomAttributeNames: {} CreatedBy: 'Jane Doe' CreatedOn: 27-Feb-2017 10:20:39 ModifiedBy: 'John Doe' ModifiedOn: 08-Mar-2017 09:27:31
版本历史记录
在 R2018a 中推出
另请参阅
MATLAB 命令
您点击的链接对应于以下 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:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)