I trained my classifier using classification learner apps Matlab version 2015a. then I used the same code and same data( images) to train the classifier using classification learner apps Matlab version 2017a. But in when I tried to predict a data using Matlab 2017a I got the following error: Undefined function 'predict' for input arguments of type 'struct'. the cod is >>imagefeatures = double(encode(bag, img)); >> [labelIdx, score] = predict(trainedclassifier,imagefeatures); Can you help, please?