getAttribute
Class: slreq.Justification
Namespace: slreq
Get justification attributes
Syntax
val = getAttribute(jt, propertyName)
Description
gets a justification property val
= getAttribute(jt
, propertyName
)propertyName
of the justification
jt
.
Input Arguments
Examples
Get Justification Attributes
% Load a requirement set file and get the handle to one justification rs = slreq.load('C:\MATLAB\My_Requirements_Set_1.slreqx'); jt1 = find(rs, 'Type', 'Justification', 'ID', 'J3.5'); % Get the Summary of jt1 summaryJt1 = getAttribute(jt1, 'Summary') summaryJt1 = 'Requirement Justification'
Version History
Introduced in R2018b