Insufficient information.
The performance functions associated with trainlm (default for fitnet), trainscg (default for patternnet) and trainbr are different.
Net parameters can be obtained from the command
net = net
Which are you using?
Posted code will help the diagnosis.
Hope this helps.
*Thank you for formally accepting my answer. *
Greg