reqSet
Class: slreq.Requirement
Namespace: slreq
Return parent requirement set
Syntax
rsout = reqSet(req)
Description
returns the parent requirement set rsout
= reqSet(req
)rsout
to which the requirement
req
belongs.
Input Arguments
req
— Requirement object
slreq.Requirement
object
Requirement, specified as an slreq.Requirement
object.
Output Arguments
rsout
— Parent requirement set
slreq.ReqSet
object
The parent requirement set of the requirement req
,
returned as an slreq.ReqSet
object.
Examples
Query Requirement Set Information
% 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
Version History
Introduced in R2018a
See Also
Comando de MATLAB
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de 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)