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 件のコメント

Mohammad Sami
Mohammad Sami 2020 年 1 月 17 日
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 2020 年 1 月 17 日
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 2020 年 1 月 21 日
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 2020 年 1 月 21 日
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 2020 年 1 月 21 日
編集済み: Looky 2020 年 1 月 21 日
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 2020 年 1 月 21 日
@Looky
This is helpful. I will explore it further. Thanks for the suggestion.
Aditya Baru
Aditya Baru 2020 年 7 月 7 日
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.

サインインしてコメントする。

 採用された回答

Rajiv Singh
Rajiv Singh 2020 年 7 月 9 日

1 投票

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.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeManage System Data についてさらに検索

製品

リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by