Neural Network in Matlab App Designer

20 views (last 30 days)
Is it possible to incorporate a Neural Network into an app created from the Matlab App Designer?
  6 Comments
Kojiro Saito
Kojiro Saito on 8 Nov 2019
Edited: Kojiro Saito on 9 Nov 2019
The structure to be input in predict might be different.
How about changing as the follows?
function startupFcn(app)
app.net = load("C:\Predictor Demanda S.N.I\net\netdia.mat");
app.net = app.net.net;
end
If the above does not work, add a breakpoint in the line of
Y_predict = predict(app.net,Xp_prediccion);
and pause at this line. Then, what is a variable type of app.net? You can konw the variable type by whos command.

Sign in to comment.

Accepted Answer

Kojiro Saito
Kojiro Saito on 12 Feb 2019
Yes, Neural Network (both shallow and deep neural networks) works with applications created by AppDesigner both for training and predict. Could you specify your use case, if possible?
  4 Comments
Justin Primero
Justin Primero on 12 Feb 2019
This has been very helpful. Thanks a lot, Kojiro Saito.
Fernando Hernandez
Fernando Hernandez on 13 Apr 2022
Estoy creando un calisificador de sonidos cardiacos, mediante el modulo max4466 el cual es procesado con filtros analogicos y posteriormente digitalizado para su procesamiento digital. Una vez realizado esto, entrara a una red autoencoder, la cual tendra una base de datos con sonidos cardiacos, y asi determinar en que categoria entra el sonido, si en sanos o no sanos.

Sign in to comment.

More Answers (1)

Pablo Salaverria
Pablo Salaverria on 10 Jun 2019
Dear all,
while creating an app using app designer I am not able to compeltelly deploy my trainned CNN. My main issue is wiht the function classify which should be valid with:
[YPred]= classify(app.net,app.imds1);
Where app.net is the trainned CNN, app.imds1 is the imageDatastore where all the images that I want to classify are stored.
The error message that I got is:
Error using classify (line 123)
Requires at least three arguments.
Meaning that the function classify is using a 2nd options instead of the one that I want it to use. Is there a way to make it work?
  1 Comment
Kojiro Saito
Kojiro Saito on 11 Jun 2019
I have just answered your question in this link. Please take a look.

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!