MATLAB: Toolbox example code dont work

error

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.

Best Answer

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