Problem in training neural network to make a standalone application in Matlab 2016?
Show older comments
Hi, I use the 'mcc -m funcname.m' to make a standalone application. There is no problem in simple case. I use this command and standalone applications work well. BTW, in using neural network generate error. I have a function include a neural network; This function loads data, trains and predict. standalone application is created successfully, but when I run the application as the standalone application, it generates error message. The error is:
"Default value is not a member of type "nntype.training_fcn". Error using nnetParamInfo (line 28) FCN is not the name of a function on the MATLAB path. Error in layrecnet>get_info (line 96) Error in layrecnet (line 46) Error in UsingRecurrent (line 23) nnet:nnetParamInfo:Arguments"
Is it possible to compile neural network train in Standalone application (Matlab 2016)? If yes, how can I don?
Thank you in advanced.
Answers (2)
Marc Jakobi
on 7 Oct 2016
1 vote
I don't think you can train a neural network in a standalone. It should be possible to train the network in Matlab, save it in a mat file and create a standalone that loads the mat file and uses the network on new data though.
5 Comments
Walter Roberson
on 7 Oct 2016
Right. You cannot train neural networks in standalone, just make calculations with already-trained networks.
Ali Aryan
on 10 Oct 2016
Edited: Walter Roberson
on 10 Oct 2016
Marc Jakobi
on 10 Oct 2016
Just out of curiosity: Why are you using a standalone if you have to start Matlab via a bat file anyway?
Ali Aryan
on 13 Oct 2016
Marc Jakobi
on 13 Oct 2016
Ah, now I get it. I thought you were calling the bat file from within the standalone just to train the network.
Walter Roberson
on 10 Jun 2017
0 votes
The ability to deploy applications that train a neural network was added in R2016b.
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!