From: "Greg Heath" <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Problem with the NN toolbox
Date: Wed, 12 Dec 2012 04:41:15 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 20
Message-ID: <ka91ta$f0n$>
References: <k9vmp8$out$>
Reply-To: "Greg Heath" <>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1355287275 15383 (12 Dec 2012 04:41:15 GMT)
NNTP-Posting-Date: Wed, 12 Dec 2012 04:41:15 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2929937
Xref: comp.soft-sys.matlab:784648

"dean86" wrote in message <k9vmp8$out$>...
> Hi everyone
> I have a network, created by the command "newrb" and now I'm trying to train it but when I use the command:
> net=train(net,p) for example, matlab shows me this message: "Network "trainFcn" is undefined".
> Could you help me to understand why?
> Thank you.

NEWRB is created and trained by the single command

net = newrb(x,t);

To change default values use commands

help newrb

doc newrb

Hope this helps.