In this above example, 'p' is input vector, 't' is the target vector, 'net' is the network model variable, 'y' is the neural network output and 'e' is difference between original target and neural network outputs.
mse(error_vector) - it returns the MSE value of neural network output.