Quantcast

Documentation Center

  • Trial Software
  • Product Updates

renameSignal

Rename mapped signal to new name

Syntax

OBJ = renameSignal(OBJ, oldSignalName, newSignalName)

Description

OBJ = renameSignal(OBJ, oldSignalName, newSignalName) changes the mapping of OLDSIGNALNAME to NEWSIGNALNAME and returns the updated TestCase OBJ.

Examples

Create a test case; create signal In1; rename signal In1 to signal In2.

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

 testCase = renameSignal(testCase, 'In1', 'In2')
Was this topic helpful?