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 ?

 Accepted Answer

You do not have Predictive Maintenance Toolbox installed.

4 Comments

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.
@Armand AGBOGBA no you need the Statistical Toolbox for some of the computations

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!