Products & Services Solutions Academia Support User Community Company

Learn more about Model-Based Calibration   

ModifyTestFilter - Modify user-defined test filter in data set

Syntax

D = ModifyTestFilter(D, Index, expr)

Description

This is a method of mbcmodel.data.

You call this method to modify the expression that defines existing filters.

D is a data object.

Index is the input index to indicate which of the available test filters you wish to modify. Use the property TestFilters to find the index for each test filter.

expr is the input string holding the expression that defines the test filter, as for AddTestFilter.

Examples

ModifyTestFilter(d1, 2, 'any(n>2000)');

The effect of this is to modify test filter number 2 to include all tests in which any records have speed (n) greater than 1000.

See Also

AddTestFilter, RemoveTestFilter, TestFilters

  


Recommended Products

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

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