How to add Test Assessment block programatically ?

6 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Inputs 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by