From: chen on
I write a nnetwork problem in matlab,like this
%%...
%get data from database
net=newff(minmax(p),[90,20],'{'tansig','tansig'},'trainrp');
%set net properties
train(netp,t);
%my case run in matlab successfully and can get goal

Then I compile my Main.m to a test.dll file with deploytool, but when I add the prefence into my test C# project, show these problems:

MWMCR::EvaluateFunction error: Error using ==> network.subsasgn at 489 "performFcn" cannot be set to non-existing function "mse"

so I add the mse.m from toolbox, but there is still a problem when I compile the c# project again:

MWMCR::EvaluateFunction error: Output argument "err" (and maybe others) not assigned during call to "...\bin\Debug\test_mcr\toolbox\nnet\nnet\@network\subsasgn.m (setAdaptFcn)".Error in =>Main.m at 148.

I hope u can help me ! Why BP nnetwork cant move into the C# project so hardly?