Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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: 17,944
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" <heath@alumni.brown.edu> wrote in message
news:l2061q$6ck$1@newscl01ah.mathworks.com...
> "Christine" wrote in message <fq33r6$od0$1@fred.mathworks.com>...

*snip*

>> 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.

http://www.mathworks.com/help/nnet/release-notes.html

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com




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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.