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 ?

 Réponse acceptée

You do not have Predictive Maintenance Toolbox installed.

4 commentaires

Ok, thank you very much for your answer Walter. Do you Know if stateflow is also required ? Thanks
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

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by