Toolbox example code dont work ?

4 views (last 30 days)
innata
innata on 5 Jul 2020
Commented: innata on 5 Jul 2020
Predictive Maintenance Toolbox has an example called Similarity-Based Remaining Useful Life Estimation. You can start the example by pasting this;
openExample('predmaint/SimilarityBasedRULExample')
I downloaded the dataset and put the files in the example folder. I ran the example but I got following error just at the first line of code;
Error using helperLoadData (line 21). The VariableNames property must contain one name for each variable in the table.
As the example couldnt be erronous, I must be doign something wrong. Can you please help me ? I use 2020a version.

Accepted Answer

Sumeet Singh
Sumeet Singh on 5 Jul 2020
Comment out the code at line 11 of helperLoadData.m
t(:,end) = []; %Discard last column of loaded data as all are empty ''

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!