Thread Subject: setAdaptFcn, Compiler error

Subject: setAdaptFcn, Compiler error

From: grega

Date: 20 Oct, 2009 11:08:01

Message: 1 of 3

Hi,
Already compiled GUI gives following error when run:
-----------------------------------------------------------------------
Error in ==> network.subsasgn>setAdaptFcn at 1876

??? Output argument "err" (and maybe others) not assigned during call to "C:\DOCUME1\XX\Local Settings\Temp\XX\mcrCache7.10\Unitl15\toolbox\nnet\nnet\@network\subsasgn.m\setAdaptFcn".

Error in ==> network.subsasgn at 435

Error in ==> newff>new_5p1 at 171
-----------------------------------------------------------------------
The uncompiled GUI works fine and also a successful compilation was reported, so do not know where's the problem. Have anyone a solution?
Thank you,
G

Subject: setAdaptFcn, Compiler error

From: Peter Webb

Date: 20 Oct, 2009 19:24:51

Message: 2 of 3

Some Neural Net toolbox functions aren't deployable (i.e. can't be used in a
compiled application). Are you deploying an application that attempts to
train a neural net? That doesn't work. But if you're trying to use an
already-trained neural net, we should be able help you find a solution.

"grega" <smrexx@yahoo.com> wrote in message
news:hbk5mh$mr6$1@fred.mathworks.com...
> Hi,
> Already compiled GUI gives following error when run:
> -----------------------------------------------------------------------
> Error in ==> network.subsasgn>setAdaptFcn at 1876
>
> ??? Output argument "err" (and maybe others) not assigned during call to
> "C:\DOCUME1\XX\Local
> Settings\Temp\XX\mcrCache7.10\Unitl15\toolbox\nnet\nnet\@network\subsasgn.m\setAdaptFcn".
>
> Error in ==> network.subsasgn at 435
>
> Error in ==> newff>new_5p1 at 171
> -----------------------------------------------------------------------
> The uncompiled GUI works fine and also a successful compilation was
> reported, so do not know where's the problem. Have anyone a solution?
> Thank you,
> G

Subject: setAdaptFcn, Compiler error

From: grega

Date: 21 Oct, 2009 05:50:20

Message: 3 of 3

Thank you kindly for your answer. Yes, the application attempts to train a neural net, so the story stops here unfortunately.
Thank you again,
Grega

"Peter Webb" <pwebb@mathworks.com> wrote in message <hbl2q3$png$1@fred.mathworks.com>...
> Some Neural Net toolbox functions aren't deployable (i.e. can't be used in a
> compiled application). Are you deploying an application that attempts to
> train a neural net? That doesn't work. But if you're trying to use an
> already-trained neural net, we should be able help you find a solution.
>
> "grega" <smrexx@yahoo.com> wrote in message
> news:hbk5mh$mr6$1@fred.mathworks.com...
> > Hi,
> > Already compiled GUI gives following error when run:
> > -----------------------------------------------------------------------
> > Error in ==> network.subsasgn>setAdaptFcn at 1876
> >
> > ??? Output argument "err" (and maybe others) not assigned during call to
> > "C:\DOCUME1\XX\Local
> > Settings\Temp\XX\mcrCache7.10\Unitl15\toolbox\nnet\nnet\@network\subsasgn.m\setAdaptFcn".
> >
> > Error in ==> network.subsasgn at 435
> >
> > Error in ==> newff>new_5p1 at 171
> > -----------------------------------------------------------------------
> > The uncompiled GUI works fine and also a successful compilation was
> > reported, so do not know where's the problem. Have anyone a solution?
> > Thank you,
> > G
>

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

Tag Activity for This Thread
Tag Applied By Date/Time
setadaptfcn grega 20 Oct, 2009 07:09:02
compiler grega 20 Oct, 2009 07:09:02
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com