Hello. I'm trying to execute the simplest example for Pattern recognition network, given in this link http://www.mathworks.fr/fr/help/nnet/ref/patternnet.html for iris flowers classification.
[x,t] = iris_dataset; net = patternnet(10) net = train(net,x,t); view(net) y = net(x); perf = perform(net,t,y) classes = vec2ind(y)
Error using struct Conversion to struct from double is not possible.
And it's the same error if I use the Neural Network interface. Can anyone help me, please? Thank you very much!