Skip to Main Content Skip to Search
Product Documentation

setDataType - Update data type for signal

Syntax

OBJ = setDataType(OBJ, SIGNALNAME, NEWDATATYPE)

Description

OBJ = setDataType(OBJ, SIGNALNAME, NEWDATATYPE) sets the data type of SIGNALNAME in all TestCase OBJs to NEWDATATYPE.

Examples

Change In1 to be single data type.

testCase = systest.TestCase('Test Case 1', 'In1');
testCase = setDataType(testCase, 'In1', 'single');

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