Neural Network Function does not work in Stand-Alone Application

3 Ansichten (letzte 30 Tage)
Hi, dear all. Recently, I’m working on develop a GUI user interface and to compile the code into the PC standalone application.
In the model, I incorporated an ensemble of artificial neural network. The network has been trained and save in a mat file. Every time, I just use function 'predictFcn' to run neural network with my input data.
function startupFcn(app)
global appnet;
appnet = load('myModel1.mat');
end
function PredictMLFFRButtonPushed(app, event)
T = Inputdata;
ypred = appnet.trainedModel.predictFcn(T)
end
All the codes work well in Matlab environment, but when we compile them into standalone application; it seems that the neural network toolbox cannot be complied into the standalone application.
I have no idea how to make my executive application works, really need someone who experience this help me out. Hope hears you soon. Thanks!!!!!

Akzeptierte Antwort

Steven Lord
Steven Lord am 27 Dez. 2019
Bearbeitet: Steven Lord am 27 Dez. 2019
There's no indication to the dependency analysis MATLAB Compiler performs to determine what needs to be included in your application that it needs to include the Neural Network Toolbox functionality. You need to tell it to include that functionality using one of the techniques shown in the "Fixing Callback Problems: Missing Functions" section on this documentation page.
  1 Kommentar
Umair Yousaf
Umair Yousaf am 27 Dez. 2019
Thank you so much Sir 'Steven Lord' for pointing out this. I was just stuck.Thanks again for your kind help

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by