How to close nntrain tool???

2 ビュー (過去 30 日間)
Ali Ahmed
Ali Ahmed 2013 年 7 月 4 日
HI I have made my Gui in which I have apply neural network for classification.. But I have apply the train command for training purpose. That open the nntrain tool I want that when my Gui open then its train tool donot show but it work... If someone knows about it please help me put.
Thanks Regards Ali

採用された回答

Friedrich
Friedrich 2013 年 7 月 4 日
編集済み: Friedrich 2013 年 7 月 4 日
Hi,
when taking a look at the code of nntraintool you will see:
function [result,result2] = nntraintool(command,varargin)
%NNTRAINTOOL Neural network training tool
%
% Syntax
%
% nntraintool
% nntraintool('close')
%
% Description
%
% NNTRAINTOOL opens the training window GUI. This is launched
% automatically when TRAIN is called.
%
% To disable the training window set the following network training
% property.
%
% net.<matlab:doc nnproperty.net_trainParam trainParam>.<matlab:doc nnparam.showWindow showWindow> = false;
%
% To enable command line training instead.
%
% net.<matlab:doc nnproperty.net_trainParam trainParam>.<matlab:doc nnparam.showCommandLine showCommandLine> = true;
%
% NNTRAINTOOL('close') closes the window.
% Copyright 2007-2012 The MathWorks, Inc.
So call a to this
YourNet.trainParam.showWindow = false;
should do it.
  1 件のコメント
Ali Ahmed
Ali Ahmed 2013 年 7 月 5 日
Thanks for helping...

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFunction Approximation and Clustering についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by