The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: newnarx error
Replies: 3   Last Post: Sep 26, 2013 10:08 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Steven Lord

Posts: 18,038
Registered: 12/7/04
Re: newnarx error
Posted: Sep 26, 2013 10:08 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Greg Heath" <> wrote in message
> "Christine" wrote in message <fq33r6$od0$>...


>> When I run the program, this error was prompted out:
>> Error in ==> newnarx at 7
>> net = newnarx(P,T,[0 1],[1 2],5);

> I get no error when I run the code.

Christine, use WHICH to check that you're using the NEWNARX function from
Neural Network Toolbox. I suspect that you're not, since most of those
functions contain much more than five lines of help text (which would make
the first executable line of the function line 7, given the function
declaration on line 1) and I don't think NEWNARX would call itself
recursively that soon in its file.

Also, if you're using a release of MATLAB and Neural Network Toolbox later
than release R2010b, you should use NARXNET instead of NEWNARX. See the item
"Improved Network Creation" in the R2010b section of the Neural Network
Toolbox Release Notes.

Steve Lord
To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.