Documentation Center

  • 評価版
  • 製品アップデート

removeSignal

Remove mapped signal

Syntax

OBJ = removeSignal(OBJ, SIGNALNAME)

Description

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.

Examples

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?