Generate MATLAB Code in Diagnostic Feature Designer
The Diagnostic Feature Designer app lets you work with ensemble data interactively and experiment with various processing and feature options. Once you have determined which features work best, you can generate code that reproduces your computations. This code allows you to apply the same computations to new or expanded ensemble data. You can use this code directly, or modify the code to suit your application. You can also generate streaming code that can be converted to C/C++ code using MATLAB Coder™.
Apps
Diagnostic Feature Designer | Interactively extract, visualize, and rank features from measured or simulated data for machine diagnostics and prognostics |
Functions
Topics
- Automatic Feature Extraction Using Generated MATLAB Code
Diagnostic Feature Designer can generate code that reproduces your interactive computations and allows you to automate feature extraction on similar input data. You select among your features, computed variables, and ranking tables to specify what the code includes.
- Generate a MATLAB Function in Diagnostic Feature Designer
This example shows how to extract features from measurement data in the app and generate a MATLAB function that reproduces the calculations for those features.
- Apply Generated MATLAB Function to Expanded Data Set
This example shows how use a reduced data set to develop features in Diagnostic Feature Designer, generate code to automate the feature computations you select, and then use that code with the full-member data set to compute a feature set for model training.
- Export Feature Extraction Function and Simulink Model for Streaming Data
From Diagnostic Feature Designer, export feature-extraction code formatted for streaming data that is MATLAB Coder compliant and a Simulink® model that contains that code.
- Anatomy of App-Generated MATLAB Code
Explore the functional organization of MATLAB code generated in Diagnostic Feature Designer.
- 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.