How can I build a shared dll that contains neural network functions?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Younggy Shin
am 13 Dez. 2016
Beantwortet: Friedrich
am 29 Dez. 2016
I built a shared dll with Matlab (2015a) application compiler app. The dll contains the function newgrnn. I complied and linked with other C routines. When I executed the executable, I got the following message.
I think matlab compiler doesn't seem to compiler neural network related functions.
Is there any way to implement the dll?
Younggy Shin
% ------------------ Error using feval Undefined function 'nn_net_input_fcn.info' for input arguments of type 'struct'. Error in nnModuleInfo (line 11) Error in nnet7.net_input_fcn (line 6) Error in netsum (line 28) Error in network/subsasgn>getDefaultParam (line 2048) Error in network/subsasgn>newLayer (line 2298) Error in network/subsasgn>network_subsasgn (line 21) Error in network/subsasgn (line 13) Error in network>setnet (line 178) Error in network>new_network (line 168) Error in network (line 71) Error in newgrnn>create_network (line 109) Error in newgrnn (line 66) Error in TotalPrediction (line 86) % -------------------------------------
0 Kommentare
Akzeptierte Antwort
Friedrich
am 29 Dez. 2016
Hi,
you can't. See here. MATLAB Compiler supports pretrained Networks only. All training functions will get excluded during the compilation process.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!