MATLAB: Classification of images through Artificial Neural network

classificationDeep Learning Toolbox

After extracting features from an image,when i try to classify the images using ANN tool in MATLAB,i see i need to import an image database of extension ".mat". I have many images in different folders which i need to classify.And i could not create a .mat file from the images which suits the ANN tool available in MATLAB. I can't understand how to create .mat image database file from these images?need help.Plz.

Best Answer

Just save all your features in whatever variable the ANN wants. Let's say it's called featureVector. Then save it:
save(filename, 'featureVector');