I am using Matlab R2013a. If you are still experiencing this problem, try looking at this location.
Matlab\R2013a\toolbox\nnet\nnet\nnderivative\+nnMex2
inside the matlab directory. I found there the file "yy.cpp", which contains mexFunction
, which does the thing. It is very likely that Matlab calls this function to simulate a network.
It seems that you can integrate this feature into your project after a little refactoring. At least I plan to do it. :-)
source share