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');
Was this topic helpful?