Hi, to classify a single image you can use the below code:
image=dataset.I{1};
outs = feedForward(net.layers, GetNetworkInputs(image, net, 1) , 1);
[Mx,label] = max(outs{end}.activation);
fprintf('net classification is %d\n',label-1);
imshow(image);shg