MATLAB: Can’t the stadalone application call functions from the Neural Network toolbox

Deep Learning ToolboxexecutableMATLAB Compilerneural network

I made standalone application of .m files with MATLAB Compiler. My program uses Neural Network tool and files from directory. I included all directories and files.
My program runs but do not call neural network function (NN tool box feature). Why?
Also, which is the correct exe to use, the one in dist or src?
I am using windows 7.

Best Answer

The first thing to read is the documention page of MATLAB compiler about what can be or cannot be compiled : MATLAB Compiler 4.14 Support for MATLAB and Toolboxes
You could read that only pre-trained network command line functions can be compiled.
It is specified for Neural Network Toolbox that the following items CANNOT be compiled:
  • All other command line functionality
  • All GUIs provided with toolbox
  • Simulink blocks
  • gensim
Aurélien