This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Manage System Data

Import measured data, generate simulated data, organize data for use at the command line and in the app

Data analysis is the heart of condition monitoring and predictive maintenance. Designing algorithms for predictive maintenance requires organizing and analyzing large amounts of data while keeping track of the systems and conditions the data represents.

Predictive Maintenance Toolbox™ provides tools for managing sensor data stored locally and remotely, as well as for generating simulated data by running a Simulink® model. The main unit for organizing and managing multifaceted data sets in Predictive Maintenance Toolbox is an ensemble. An ensemble is a collection of data sets, created by measuring or simulating a system under varying conditions. Manage your ensemble using ensemble datastore objects. For more information about how ensembles work and how to use them, see Data Ensembles for Condition Monitoring and Predictive Maintenance.

The Diagnostic Feature Designer app includes interactive tools for processing data and extracting features. The app accepts data sets in various forms, consolidates the data within the app, and manages that data internally during a session. For more information on the app, see Explore Ensemble Data and Compare Features Using Diagnostic Feature Designer.


fileEnsembleDatastoreManage ensemble data in custom file format
simulationEnsembleDatastoreManage ensemble data generated by generateSimulationEnsemble or by logging simulation data in Simulink


generateSimulationEnsembleGenerate ensemble data by running a Simulink model
readRead member data from an ensemble datastore
writeToLastMemberReadWrite data to member of an ensemble datastore
hasdataDetermine if data is available to read
resetReset datastore to initial state
numpartitionsNumber of datastore partitions
partitionPartition a datastore
progress Determine how much data has been read
tallCreate tall array


Ensemble Datastore Basics

Data Ensembles for Condition Monitoring and Predictive Maintenance

Algorithm design with Predictive Maintenance Toolbox uses data organized in ensembles. You can generate ensemble data from a Simulink model or create ensembles from existing data stored on disk.

Generate and Use Simulated Data Ensemble

If you have a Simulink model of your system under fault conditions, you can generate an ensemble of simulated data for developing predictive-maintenance algorithms.

File Ensemble Datastore With Measured Data

Use a file ensemble datastore to manage and interact with large sets of data collected from operation of your system under varying conditions.

File Ensemble Datastore Using Data in Text Files

Create and use a fileEnsembleDatastore object to manage an ensemble of data stored in a plain-text format.

Data Management in the Diagnostic Feature Designer

Explore Ensemble Data and Compare Features Using Diagnostic Feature Designer

Workflow for interactively exploring and processing ensemble data, designing and ranking features from that data, and exporting data and selected features.

Organize System Data for Diagnostic Feature Designer

Organize measurements and information for multiple systems into data sets that you can import into the app.

Import and Visualize Data in Diagnostic Feature Designer

Import an ensemble member table from your workspace, define variable types, and view the data using interactive plotting options.

Prepare Matrix Data for Diagnostic Feature Designer

Convert single-member matrices to an ensemble table for import into the app.

Featured Examples