How can I disable the text or graphic outputs displayed by TRAIN in Neural Network Toolbox 6.0 (R2008a)?

36 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
There are two network training parameters that where introduced in the Neural Network Toolbox 6.0 (R2008a). They allow individual control of the command line output and the graphics output of TRAIN. In order to turn off the graphics output of TRAIN, use the following command before you train your network:
net.trainParam.showWindow = false;
if you want to disable the command line output of TRAIN, use the following code:
net.trainParam.showCommandLine = false;
Where 'net' is your neural network object.
In previous releases of MATLAB these two options are not available. However there is a workaround. You can use the 'net.trainParam.show' property to indicate how many training iterations to wait between plot and command window updates. Setting this parameter to 'NaN' will disable both types of output. This is shown in the following code:
net.trainParam.show = NaN;

More Answers (0)

Products


Release

R2008a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!