Contenuto principale

DefineNumberOfRecordsPerTest

Define exact number of records per test

Description

DataObjMod = DefineNumberOfRecordsPerTest(DataObj,Number,TestNumAlias) defines the number of records per test. Use DefineNumberOfRecordsPerTest to set one test per record for one-stage modeling.

example

Examples

collapse all

DataObjMod = DefineNumberOfRecordsPerTest(DataObj, 1);
DataObjMod = DefineNumberOfRecordsPerTest(DataObj, 10, 'MYLOGNO');

Input Arguments

collapse all

mbcmodel.data data object.

Number of records to include in each test. Usually, this is one test per record.

Example: 1

Data Types: double

Optional character vector input to define the SignalName that the software should use as the test number. Defaults to the test index.

Note

For the test number, testnumAlias uses the first record in the test. Test numbers are unique, so the method does modify duplicates.

Data Types: char

Output Arguments

collapse all

Modified mbcmodel.data object.

Version History

Introduced before R2006a