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!