Main Content


Class: sltest.testmanager.TestCase
Package: sltest.testmanager

Create output trigger object for test case

Since R2023a


ot = getOutputTrigger(tc)
ot = getOutputTrigger(tc,simIndex)


ot = getOutputTrigger(tc) returns an sltest.testmanager.OutputTrigger object for the specified test case, tc. If your test case uses iterations, all iterations in the test case use the same output trigger object.

ot = getOutputTrigger(tc,simIndex) returns an sltest.testmanager.OutputTrigger object for the specified simulation of an equivalence test case.

Input Arguments

expand all

Test case, specified as an sltest.testmanager.TestCase object.

Simulation index of one of the equivalence test case simulations, specified as 1 or 2.

Output Arguments

expand all

Output trigger of the specified test case, returned as an sltest.testmanager.OutputTrigger object.


expand all

Create a test file, test suite, and test case. Create an output trigger object for the test case.

tf = sltest.testmanager.TestFile('myTestFile');
ts = sltest.testmanager.TestSuite(tf,'Test Suite 1');
tc = sltest.testmanager.TestCase(ts,'baseline','Baseline Test');

ot = getOutputTrigger(tc)

Version History

Introduced in R2023a