要件のトレーサビリティ
要件の設計、コード、およびテストへのリンク、関係の指定、マークアップの追加、モデルとコードに対するトレーサビリティの確認、整合性のチェック
要件リンクを作成し、モデル要素、テスト ケース、テスト ハーネス、MATLAB® コード行、データ ディクショナリ、Stateflow® 要素、System Composer™ アーキテクチャ モデルおよびその他の要件へのトレーサビリティを確立します。機能要件を実装するモデル要素やテスト仕様要件を検証するテスト ハーネスなどのような、関係の性質を示すリンク タイプを指定します。既定のリンク機能を拡張するために、カスタム要件およびリンク タイプを作成します。
要件エディターを使用してリンクを作成および表示し、要件パースペクティブを使用して要件をモデルのコンテキストで表示します。
アプリ
要件エディター | Create and edit requirements |
ツール
プロファイル エディター | Create and manage profiles with stereotypes and properties |
クラス
slreq.LinkSet | Work with link sets |
slreq.Link | リンク オブジェクトの操作 |
オブジェクト
slreq.TextRange | Line range |
メソッド
setDestination | 要件のリンク先の設定 |
setSource | 要件のリンク元を設定 |
関数
slreq.clear | 要件とリンクをメモリからクリア |
slreq.closeRequirementsManager | Close Requirements Manager app in model |
slreq.cmConfigureVersion | Set version of linked requirements documents |
slreq.cmGetVersion | Get configured version of linked requirements documents |
slreq.createLink | トレース可能なリンクの作成 |
slreq.createTextRange | Create line ranges |
slreq.find | 要件、参照、およびリンク セットのアーティファクトの検索 |
slreq.generateTraceabilityDiagram | Create a traceability diagram |
slreq.generateTraceabilityMatrix | Create traceability matrix |
slreq.getExternalURL | Get navigation URL for link source or destination, requirement, test or Simulink model element |
slreq.getTextRange | Get line ranges |
slreq.getTraceabilityMatrixOptions | Create options structure for traceability matrix |
slreq.inLinks | Get incoming links for requirement or other linkable item |
slreq.load | 要件セットまたはリンク セットの読み込み |
slreq.openRequirementsManager | Open Requirements Manager app in model |
slreq.outLinks | Get outgoing links for a block or other linkable item |
slreq.refreshCustomizations | Register Requirements Toolbox customizations |
slreq.show | Navigate to link source or destination |
slreq.structToObj | Convert link source or destination information from structure to model object type |
トピック
リンクの作成
- Create and Store Links
Trace requirements to design and test items by creating links. - ブロックと要件のリンク
Simulink® キャンバスを使用して、要件をモデル内の要素に関連付ける。 - 要件からテスト ケースへのリンク
テスト ケースを要件と関連付ける。 - MATLAB コードの要件のトレーサビリティ
要件を MATLAB コードとプレーンテキストの外部コード (C コードなど) に関連付けます。 - Requirements Traceability for Code Generated from MATLAB Code
Include comments in generated code that contain information about requirement links to MATLAB code. - 要件リンクがあるモデルのコードの生成
生成されるコードに要件リンクに関する情報が含まれるようにコンフィギュレーション パラメーターを設定。
リンクのカスタマイズ
- Define Custom Requirement and Link Types and Properties
Customize requirements and links by using custom types and custom attributes, or stereotypes.
リンクの可視化、管理、およびトラブルシューティング
- Load and Resolve Links
Load link sets by loading artifacts and resolve links. - トレーサビリティ マトリクスを使用した要件リンクの追跡
トレーサビリティ マトリクスを使用して、リンクと変更の問題を追跡し、管理する。 - トレーサビリティ ダイアグラムを使用したリンクの可視化
トレーサビリティ ダイアグラムで、要件およびその他のモデルベース デザイン項目のトレーサビリティ構造を可視化する。 - 割り当てと影響の評価
要件割り当てと変更の影響を評価します。 - 要件の整合性チェック
欠損しているリンクや関連付けられていないリンクをチェック。
サードパーティ製アプリケーションとリンク
- Microsoft Word ドキュメント内の要件へのリンク
Word ドキュメント内の要件から Simulink ブロックへのリンクを作成する。 - Microsoft Excel の要件へのリンク
Microsoft® Excel® で管理されている要件から、MATLAB と Simulink の設計項目とテスト項目へのリンクを作成します。 - IBM DOORS Next を使用した要件のリンクと追跡
IBM® DOORS® Next の要件へのリンクを行う。 - 外部の要件ドキュメントのナビゲーション バックリンクの管理
要件ドキュメントから Simulink 内のモデル要素へ移動するためのハイパーリンクを挿入する。