I am using neural network toolbox. I have trained the net using input matrix of 5 X 48 and output matrix of 2 X 48. The network is saved by name Abhay. Now I want to use this network using a 5 X 1 input matrix and the corresponding output should be a 2 X 1 matrix as it is trained. I used, y = sim(Abhay,r) % r is the 5 X 1 input matrix. The result of this command should be a 2 X 1 but I am getting error regarding the size of input. so please if anyone can explain the problem and remedy.