MATLAB: Error using matlab.int​ernal.exam​ples.compo​nentExampl​esDir (line 16) Invalid argument “predmaint”.

openexamplepredmaint

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 ?

Best Answer

You do not have Predictive Maintenance Toolbox installed.