The Example is made in Matlab2015 but it seems some functions are not working in Matlab 2017b. For instance, it can not define 'ClassNames' field. and gives following errors:

Reference to non-existent field 'ClassNames'.

Error in CarFinderLive>figureSetup (line 54)

bar(ax2,zeros(1,numel(trainedClassifier.ClassNames)),'FaceColor',[0.2 0.6 0.8])

Error in CarFinderLive (line 6)

[fig, ax1, ax2] = figureSetup(trainedClassifier);

Error in CarIdentification (line 40)

CarFinderLive(trainedClassifier,bag)

If someone succeed to use this example in Matlab2017 please share your experince or give me some hint.

Similar questions and discussions