Data Preparation Overview
R2026bData preparation for MBC model fitting is a structured, iterative process. Use the Import Data feature in the Model-Based Calibration Toolbox™ to load and work with data from external sources. Visualize data collected from physical hardware, Simulink® models, or other simulation software. Open the Data Editor from any node in the model tree, and use plotting tools to review the quality of the data. For more information, see Data Preparation.
Use the Data Editor to:
View and analyze the data using graphical tools.
Clean data by creating variables, applying filters, and removing invalid points.
Organize data by operating conditions for analysis.
After preparing the data, proceed to Empirical Modeling Overview to fit models to your data.
Import Data
After collecting data through physical dynamometer testing, simulation software, or
other test methods, import the data into the MBC Model Fitting app. You can use data
even if it was not collected using the Design Experiment tool. Use
the Data Editor to import supported formats including .xls,
.csv, .mat, or data copied from the
MATLAB® workspace. Importing data might require merging data sets, particularly
for incremental data processing. You might also need to define operating point groupings
if the data has a hierarchical structure for point-by-point and two-stage modeling.
View and Edit Data
Use the Data Editor to review data quality, examine trends and input‑response relationships, and identify potential issues before model fitting. Use the Variable Editor, Filter Editor, and Operating Point Filter Editor dialog boxes to prepare the data.
| Data Preparation Step | Description | More Info |
|---|---|---|
The Data Editor provides ways to visualize and edit data:
| View and Edit Data in the Data Editor | |
The Variable Editor supports working with variables in a data set:
| Create and Edit Variables Using the Variable Editor | |
The Filter Editor lets you remove invalid data based on defined rules or logical expressions:
You can edit, update, or remove filters at any time. Store common expressions for reuse. | Create and Apply Filters Using the Filter Editor | |
The Define Operating Point Groupings dialog box helps you organize your data:
| Define Operating Point Groupings |
Optional Export
After completing data preparation, export the cleaned data set for use in other workflows.