Neural Network Function does not work in Stand-Alone Application

조회 수: 3 (최근 30일)
Umair Yousaf
Umair Yousaf 2019년 12월 27일
댓글: Umair Yousaf 2019년 12월 27일
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!!!!!

채택된 답변

Steven Lord
Steven Lord 2019년 12월 27일
편집: Steven Lord 2019년 12월 27일
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
Umair Yousaf
Umair Yousaf 2019년 12월 27일
Thank you so much Sir 'Steven Lord' for pointing out this. I was just stuck.Thanks again for your kind help

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by