フィルターのクリア

How to add Test Assessment block programatically ?

6 ビュー (過去 30 日間)
Nikhil Boddula
Nikhil Boddula 2021 年 4 月 4 日
回答済み: Nikhil Boddula 2021 年 4 月 4 日
Hi, I'm trying to add a seperate Test Assessment block along with Test sequence block.
I'm getting only Test Sequence block by using following command:
sltest.harness.create(modelName,'Name','Harness','Source','Test Sequence'):
I have found for Serate Assessment block object but I failed how to use the below info:
{ Option to add a separate Test Assessment block to the test harness, specified as a comma-separated pair consisting of 'SeparateAssessment' and false or true.
Example: 'SeparateAssessment',true
Data Types: logical}

採用された回答

Nikhil Boddula
Nikhil Boddula 2021 年 4 月 4 日
We can use as follows:
sltest.harness.create(modelName,'Name','Harness','Source','Test Sequence','SeparateAssessment',true)
:)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInputs についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by