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

14 views (last 30 days)
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

Walter Roberson
Walter Roberson on 18 Mar 2021
You do not have Predictive Maintenance Toolbox installed.
  4 Comments

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!