| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Model-Based Calibration |
| Contents | Index |
| Learn more about Model-Based Calibration |
| On this page… |
|---|
You can create filters
By clicking the toolbar button
![]()
By selecting Tools > Filters > Add
Alternatively, by selecting an existing Filter List view by clicking in it, then pressing Insert
The Filter Editor appears. See below for instructions.
You can also load user-defined filters from Storage.
New filters you create in the Filter Editor can be viewed in the Data Editor by using the right-click menu in any view to select Current View > Filter List. Alternatively, select the menu item View > Split View > Filter List to add this new view to the currently selected plot. Their effects are shown graphically in the bars at the top of the Data Editor — removed data is shown in red.
After you create them, filters can be edited in the same way as variables,
Directly, after you select-click them in a Filters List pane, or by pressing F2
Using Tools > Filters > Edit, which opens the Filter Editor
By double-clicking, which also opens the Filter Editor
Delete filters by selecting them and pressing Delete.
Similarly you can add test filters (to filter out entire tests, instead of individual observations) and test notes (to mark every test that fulfills set criteria). The Test Filter Editor and Test Notes Editor can be reached from the Tools menu. You can view these filters in the Data Editor in the same way as the other filters by selecting Test Filter List or Test Notes List as the type of view. You define, edit, store, and delete these filters in the same way, and they can also be loaded from Storage.
For examples, see Gasoline Engine Calibration Case Study in the Model-Based Calibration Toolbox Getting Started Guide.
A filter is a constraint on the data set used to exclude some records. You define the filter using logical operators on the existing variables.

In the preceding example, n>1000, the effect of this filter is to keep all records with speed (n) greater than 1000.
Click OK to impose new filters on the current data set.
Note that the Filter Editor looks different depending on whether you opened it to create a new filter or edit an existing one. The example above shows the editor when adding a new filter. If you open the editor to edit a filter there is an additional list on the left. You can choose which of your existing filters to edit from this list, or click the button to add a new item to the list if you want to add a new filter.
![]() | Creating Variables | Storage | ![]() |

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 |