Is it possible to compile MATLAB files that call Neural Network Toolbox functions into stand-alone applications?

5 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 9 Jan 2023
Edited: MathWorks Support Team on 9 Jan 2023
The ability to deploy Neural Network Toolbox functions (including training functions such as train) to compiled applications was added in MATLAB Compiler Version 6.3 (R2016b). However, there are a few limitations regarding which Neural Network toolbox functions can be compiled in a stand-alone application. These limitations are listed here:
It is possible to deploy only 
pre-trained
network command line functions from the Neural Network toolbox in Compiler releases 4.0 (R14) through 6.2 (R2016a). For previous releases of MATLAB (R13 and earlier), please refer the following link:
  1 Comment
Walter Roberson
Walter Roberson on 4 May 2015
Marcel, the line is related to the process for R13 or earlier, involving using GENSIM to create a Simulink block for the generated network. The syntax shown is related to the way that Simulink designates access to values inside function blocks. Unless you are using R13 or earlier it is irrelevant to the overall task of the question.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!