Effacer les filtres
Effacer les filtres

How to add Test Assessment block programatically ?

6 vues (au cours des 30 derniers jours)
Nikhil Boddula
Nikhil Boddula le 4 Avr 2021
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}

Réponse acceptée

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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by