Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Problem with the NN toolbox

Subject: Problem with the NN toolbox

From: dean86

Date: 8 Dec, 2012 15:36:08

Message: 1 of 2

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.

Subject: Problem with the NN toolbox

From: Greg Heath

Date: 12 Dec, 2012 04:41:15

Message: 2 of 2

"dean86" wrote in message <k9vmp8$out$1@newscl01ah.mathworks.com>...
> 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.

Greg

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us