When we use fitnet, it returns a neural network object. We can inspect this object for the weight values before and after training, and all other things related to the model.
net=fitnet(10) % in output we can see weight and bias parameters
net.b{1} %getting initial bias value