Accessing the GUI function programatically.
Show older comments
How can I access the functions in GUI apps such as "diagnosticFeatureDesigner" of Predictive maintenance toolbox in my m-script. I am looking to automate the process of feature extraction for various signals in the data set, instead of doing it manually for each signal.
7 Comments
Mohammad Sami
on 17 Jan 2020
After you are satisfied with your processing, just use the Export functionality in the app to export as code. You can then modify from there.
Nabeela Shaheen
on 17 Jan 2020
Mohammad Sami
on 21 Jan 2020
Sorry. I did not realise that there is no option to export the code from the Feature Designer. Perhaps you can put in a feature request.
The various functions that are used are summarised here
Nabeela Shaheen
on 21 Jan 2020
You can always try to look for the source of the app:
edit diagnosticFeatureDesigner
and if there is code available, look for your specific function (you can use debugger for a closer look).
But this is just a guess, I can't test it because the app is only available in the latest matlab version.
Nabeela Shaheen
on 21 Jan 2020
Aditya Baru
on 7 Jul 2020
The App now supports MATLAB code generation (creating a function from the tasks you have completed) similar to the classificiation learner app. Please check R2020a release of Predictive Maintenance Toolbox.
Accepted Answer
More Answers (0)
Categories
Find more on Manage System Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!