ヘルプ センターヘルプ センター
このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
トレーサビリティ マトリクスの作成
R2021a 以降
slreq.generateTraceabilityMatrix
slreq.generateTraceabilityMatrix(opts)
例
slreq.generateTraceabilityMatrix は、[トレーサビリティ マトリクス] ウィンドウを開きます。
slreq.generateTraceabilityMatrix(opts) は、opts で指定されたアーティファクトをもつトレーサビリティ マトリクスを作成します。
opts
すべて折りたたむ
[トレーサビリティ マトリクス] ウィンドウを開きます。
[トレーサビリティ マトリクス] ウィンドウを閉じます。
slreq.clear
この例では、トレーサビリティ マトリクスのオプションの構造体を作成し、これらのオプションを使用してマトリクスを生成する方法を示します。
クルーズ コントロール モデル プロジェクトの要件定義を開きます。
openProject("ShortestPath");
トレーサビリティ マトリクスのオプションの構造体を作成します。
opts = slreq.getTraceabilityMatrixOptions;
opts の leftArtifacts フィールドおよび topArtifacts フィールドを設定します。トレーサビリティ マトリクスで使用するアーティファクトの名前を含む cell 配列を入力します。
leftArtifacts
topArtifacts
opts.topArtifacts = ["shortest_path_func_reqs.slreqx","shortest_path_tests_reqs.slreqx"]; opts.leftArtifacts = "graph_unit_tests";
opts で指定されたアーティファクトをもつトレーサビリティ マトリクスを生成します。
struct
トレーサビリティ マトリクス オプション。以下のフィールドをもつ struct として指定します。
struct のフィールドは、string 配列または文字ベクトルの cell 配列として指定します。
R2021a で導入
slreq.getTraceabilityMatrixOptions
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office