メインコンテンツ

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

要件リンクの作成

リンクを作成して要件と設計の間や要件とテストの間のトレーサビリティを確立する

要件を MATLAB® および Simulink® の設計とテストや System Composer™ のアーキテクチャにリンクします。

あるいは、サードパーティ製アプリケーションの外部要件に直接リンクすることもできます。詳細については、外部要件へのリンクの作成を参照してください。

アプリ

要件エディター要件の作成と編集
要件マネージャーManage requirements and links in model
プロファイル エディターステレオタイプとプロパティをもつプロファイルの作成および管理

ブロック

System RequirementsSimulink モデルのシステム要件のリスト

関数

すべて展開する

slreq.createLinkトレース可能なリンクの作成
slreq.generateTraceabilityMatrixトレーサビリティ マトリクスの作成 (R2021a 以降)
slreq.createTextRangeCreate line ranges (R2022b 以降)
rmitagManage keywords for links
slreq.find要件、参照、およびリンク セットのアーティファクトの検索
slreq.inLinks要件またはその他のリンク可能な項目の内向きリンクを取得する
slreq.outLinksブロックまたはその他のリンク可能な項目の外向きリンクの取得
slreq.getDependentLinkSetsRetrieve link sets with incoming links to requirement set (R2023a 以降)
slreq.getExternalURLGet navigation URL for link source or destination, requirement, test or Simulink model element (R2021a 以降)
slreq.getIncomingLinkTypeLabelRetrieve incoming link type label (R2023a 以降)
slreq.getOutgoingLinkTypeLabelRetrieve outgoing link type label (R2023a 以降)
slreq.getTextRangeGet line ranges (R2022b 以降)
slreq.structToObjConvert link source or destination information from structure to model object type
slreq.showNavigate to link source or destination
slreq.load要件セット、リンク セット、または Requirements Table ブロックの読み込み
slreq.clear要件とリンクをメモリからクリア
slreq.mapGet or set path to link set file

クラス

すべて展開する

slreq.LinkSet リンク セットの操作
slreq.Linkトレース可能なリンク
slreq.ReqSet 要件セットでの作業
slreq.Reference 外部要件プロキシ オブジェクトの操作
slreq.Justification要件の正当化

メソッド

すべて展開する

リンクの取得

findFind links in link set with matching attribute values
getLinksリンク セットからリンクを取得
getBrokenLinksGet links with invalid destination
getOrphanLinksGet links with invalid source

リンク元、行範囲、要件セットの取得

sources リンク元の取得
getRegisteredReqSetsGet requirement sets registered in link set
getTextRangeGet line ranges
getTextRangesGet lines ranges that span multiple lines

リンク セットのカスタマイズ

addAttributeAdd custom attribute to link set
importProfileAssign profile to ink set
inspectAttributeGet information about link set custom attribute
profilesGet profiles assigned to link set
removeProfileRemove profile from link set

リンクの保存と削除

save リンク セットの保存
deleteOrphanLinksDelete links with invalid source

トレーサビリティ情報の取得

linkSetリンクのリンク セットを取得
getDestinationOpenCommand Retrieve command that opens link destination
getSourceOpenCommand Retrieve command that opens link source
getDestinationURL Retrieve URL that opens link destination
getSourceURL Retrieve URL that opens link source
getDestinationLabelGet label that identifies link destination
getSourceLabelGet label that identifies link source
getIncomingTypeLabel Get type label for incoming link
getOutgoingTypeLabel Get type label for outgoing link

リンク元とリンク先の取得と設定

source リンク元を取得
destination リンク先を取得
setSource 要件のリンク元を設定
setDestination 要件のリンク先の設定

コメントの追加とリンクのカスタマイズ

addCommentリンクへのコメントの追加
getAttributeGet link property values
setAttributeSet link property values

リンクの削除

removeリンクの削除

未解決のリンクのチェック

getReferenceInfoGet unresolved link destination
isResolved Check if the link is resolved
isResolvedDestination Check if the link destination is resolved
isResolvedSource Check if the link source is resolved
getImplementationStatus Query requirement set implementation status summary
updateImplementationStatus要件セットの実装ステータスの概要を更新
inLinksGet incoming links for requirements
outLinksGet outgoing links for requirements
getImplementationStatus Query requirement implementation status summary
isJustifiedForCheck if requirement is justified
justifyImplementation Justify requirements for implementation
inLinksGet incoming links for referenced requirements
outLinksGet outgoing links for referenced requirements
getImplementationStatus Query referenced requirement implementation status summary
isJustifiedForCheck if referenced requirement is justified
justifyImplementation Justify referenced requirements for implementation
outLinksGet outgoing links for justifications

オブジェクト

slreq.TextRangeLine range (R2022b 以降)
slreq.matrix.ConfigurationTraceability matrix configuration (R2024a 以降)
slreq.matrix.FilterFilter for traceability matrix (R2024a 以降)

オブジェクト関数

すべて展開する

deleteLinksDelete links for line ranges
getLineRangeGet line numbers for line range
getLinksGet links for line range
getTextGet contents of line range
removeDelete unused line ranges
setLineRangeSet line numbers for line range
showOpen and highlight line range in MATLAB Editor
addFilterToCellAdd cell filter to traceability matrix configuration
addFilterToHighlightAdd highlighting to traceability matrix configuration
addFilterToLeftAdd filter to left artifacts in traceability matrix configuration
addFilterToMatrixAdd matrix settings filter to traceability matrix configuration
addFilterToTopAdd filter to top artifacts in traceability matrix configuration
exportToScriptExport traceability matrix configuration to script

トピック

要件、アーキテクチャ、設計、テストのリンク

リンクの読み込みとカスタマイズ

注目の例