Documentation Center

  • Trials
  • Product Updates


Remove mapped signal


OBJ = removeSignal(OBJ, SIGNALNAME)


OBJ = removeSignal(OBJ, SIGNALNAME) removes the SIGNALNAME from the mappings in OBJ and returns the updated TestCase OBJ. OBJ may be a scalar TestCase object or an array.

If SIGNALNAME is not an existing name an error will be thrown.


Create a test case; create signals In1 and In2; remove signal In1.

 testCase = systest.TestCase('Test Case 1');
 testCase.In1 = systest.signals.Signal('Step');
 testCase.In2 = systest.signals.Signal('Ramp');

 testCase = removeSignal(testCase, 'In1');
Was this topic helpful?