Accessing the GUI function programatically.

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

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.
Screen Shot 2563-01-17 at 15.48.01.png
At the moment I can't see the option to export as code. But I get the idea. Thanks a lot for the prompt response.
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
Thank you for the confirmation. I had figured that out as well.
After extracting an selecting the features in the Feature Designer I need to extract the same set of featues for another set of training or test data. It doesnt seem possible in the app to automate this process. I think this feature is essential.
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.
@Looky
This is helpful. I will explore it further. Thanks for the suggestion.
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.

Sign in to comment.

 Accepted Answer

I will repeat Aditya Baru's comment as an answer.
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.

More Answers (0)

Products

Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!