how i can use a model (net.mat) from Fitting Neural Network in App Designer
1 次查看(过去 30 天)
显示 更早的评论
Hi. i have a model (net.mat) fot predict de load electricity demand, from Neural Net Fitting. For get the result in space of matlab, i use these code: y_predict= sim(net,Xp_net')'. (Xp_net is the predictors for get the forecast).
Now, i whant to create a App Designer for use that model, but i don´t know how call the model into the app Designer.
From some information about it, i have :
- in App Designer, i created a Private Property(net):
properties (Access = private)
net;
Y_predict;
end
- for charge the model i used this code in startupFcn(app):
function startupFcn(app)
app.net.net = load("C:\Predictor Demanda S.N.I\App\net.mat"); %para predicción del día siguiente
app.net = app.net.net; %net pronostico dia siguiente
end
- to excecute the model, into the callback i have:
[Y_predict] = sim(app.net, app.Xp_prediccion)
in that part, i have a problem, because de code is not not recognized.
how I can get Y_predict?. The idea is that the model is in a folder (C:\Predictor Demanda S.N.I\App), and is called by the app dessigner.
thanks for you help.
Juanc. Pozuelos
Guatemala
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Gaussian Process Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!