Skip to Main Content Skip to Search
Product Documentation

renameSignal - Rename mapped signal to new name

Syntax

OBJ = renameSignall(OBJ, oldSignalName, newSignalName)

Description

OBJ = renameSignall(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')

How To

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS