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 comentarios

Mohammad Sami
Mohammad Sami el 17 de En. de 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
Nabeela Shaheen el 17 de En. de 2020
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.
Mohammad Sami
Mohammad Sami el 21 de En. de 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
Nabeela Shaheen el 21 de En. de 2020
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.
Looky
Looky el 21 de En. de 2020
Editada: Looky el 21 de En. de 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
Nabeela Shaheen el 21 de En. de 2020
@Looky
This is helpful. I will explore it further. Thanks for the suggestion.
Aditya Baru
Aditya Baru el 7 de Jul. de 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.

Iniciar sesión para comentar.

 Respuesta aceptada

Rajiv Singh
Rajiv Singh el 9 de Jul. de 2020

1 voto

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.

Más respuestas (0)

Categorías

Productos

Versión

R2019b

Preguntada:

el 17 de En. de 2020

Respondida:

el 9 de Jul. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by