Main Content

remove

Class: sltest.testmanager.LoggedSignalSet
Namespace: sltest.testmanager

Remove a logged signal set

Syntax

remove(lgset)
remove(sig)

Description

remove(lgset) removes an sltest.testmanager.LoggedSignalSet object from an sltest.testmanager.TestCase object and invalidates its child signal objects.

remove(sig) removes a logged signal from a sltest.testmanager.LoggedSignalSet.

Input Arguments

expand all

Logged signal set object contained in a test case.

Examples

expand all

Open the model for this example.

sldemo_absbrake

Create a test file, test suite and test case for this model.

tf = sltest.testmanager.TestFile('myTestfile');
ts = sltest.testmanager.TestSuite(tf,'myts');
tc = sltest.testmanager.TestCase(ts,'baseline','mytc');

Create a signal set.

mysigset = addLoggedSignalSet(tc);

Remove the signal set.

remove(mysigset)

Version History

Introduced in R2019a