parent
クラス: slreq.Justification
名前空間: slreq
正当化の親項目の検索
構文
parentObj = parent(jt)
入力引数
正当化。slreq.Justification オブジェクトとして指定します。
出力引数
正当化 jt の親。slreq.Justification オブジェクト、または slreq.ReqSet オブジェクトとして返されます。
例
% Load a requirement set file and find justification objects rs = slreq.load('C:\MATLAB\My_Requirements_Set_1.slreqx'); myJustifications = find(rs, 'Type', 'Justification') myJustifications = 1×13 Justification array with properties: Id Summary Description Keywords Rationale CreatedOn CreatedBy ModifiedBy SID FileRevision ModifiedOn Dirty Comments % Find the parent of the first justification object parentJust1 = parent(myJustifications(1)) parentJust1 = ReqSet with properties: Description: '' Name: 'My_Requirements_Set_1' Filename: 'C:\MATLAB\My_Requirements_Set_1.slreqx' Revision: 6 Dirty: 1 CustomAttributeNames: {} % Find the parent of the third justification object parentJust3 = parent(myJustifications(3)) parentJust3 = Justification with properties: Id: 'J1' Summary: 'Justifications' Description: '' Keywords: [0×0 char] Rationale: '' CreatedOn: 27-Feb-2014 10:15:38 CreatedBy: 'Jane Doe' ModifiedBy: 'John Doe' SID: 35 FileRevision: 11 ModifiedOn: 02-Aug-2017 13:49:40 Dirty: 1 Comments: [0×0 struct]
バージョン履歴
R2018b で導入
MATLAB Command
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.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- 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)