MATLAB will automatically initialize unweighted nets before training.
MATLAB will continue to train a preweighted net
Therefore, if you are training a net multiple times in a for loop, you should use INIT or CONFIGURE at the top of the loop to initialize a new design.
I have posted zillions of examples of double for loop designs in both the NEWSGROUP (comp.soft-sys.matlab) and ANSWERS. Search
greg for i=1:Ntrials
Hope this helps
Thank you for formally accepting my answer
Greg
