필터 지우기
필터 지우기

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 CenterFile Exchange에서 Inputs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by