Error using matlab.int​ernal.exam​ples.compo​nentExampl​esDir (line 16) Invalid argument "predmaint".

Hello, I am using Matlab2021a trial version. I want to execute the code of the example on this page https://fr.mathworks.com/help/predmaint/ug/similarity-based-remaining-useful-life-estimation.html?s_eid=PSM_15028. When I try to excecute the Matlab command "openExample('predmaint/SimilarityBasedRULExample')" as indicated on the button at the top-right of the page, I get this error:
Error using matlab.internal.examples.componentExamplesDir (line 16)
Invalid argument "predmaint".
Can somebody help me please ?

 採用された回答

Walter Roberson
Walter Roberson 2021 年 3 月 18 日
You do not have Predictive Maintenance Toolbox installed.

4 件のコメント

Armand AGBOGBA
Armand AGBOGBA 2021 年 3 月 18 日
Ok, thank you very much for your answer Walter. Do you Know if stateflow is also required ? Thanks
Armand AGBOGBA
Armand AGBOGBA 2021 年 3 月 18 日
It works! Your answer helps me Walter. Thanks again.
It woked also for me! Thank you very much!
@Armand AGBOGBA no you need the Statistical Toolbox for some of the computations

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by