Class: slreq.Justification
Package: slreq

Return parent requirement set


rsout = reqSet(jt)


rsout = reqSet(jt) returns the parent requirement set rsout. The justification jt belongs to rsout.

Input Arguments

expand all

Justification, specified as an slreq.Justification object.

Output Arguments

expand all

The parent requirement set of the justification jt, returned as an slreq.ReqSet object.


Query Requirements Set Information

% Load a new requirement set file and select one justification
rs = slreq.load('C:\MATLAB\My_Requirements_Set_1.slreqx');
allJustifications = find(rs, 'Type', 'Justification');
jt = allJustifications(1);

% Query which requirement set jt belongs to

ans = 

  ReqSet with properties:

             Description: ''
                    Name: 'My_Requirements_Set_1'
                Filename: 'C:\MATLAB\My_Requirements_Set_1.slreqx'
                Revision: 65
                   Dirty: 0
    CustomAttributeNames: {}
               CreatedBy: 'John Doe'
               CreatedOn: 17-Dec-2016 10:02:30
              ModifiedBy: 'Jane Doe'
              ModifiedOn: 01-May-2016 11:20:21

See Also


Introduced in R2018b