Standalone doesn't recognize all functions?
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ricardo Rodrigues
le 26 Mar 2014
Modifié(e) : Greg Heath
le 3 Avr 2014
Hello friends, I have a issue im my standalone aplication and I wonder if someone with more experience and knowledge could help me, please :).
My program make some forecasts for diferent groups of things using a neural network previously trained and it works fine using matlab, but when i make a standalone for the same program the funtion wich obtain the forecast doesn't work.
Here is where i think the problem is:
Entradas=[s1,s2,tmax,tmin,cosDDS,cosH,senDDS,senH,fer];
Entradas=transpose(Entradas);
out=net(Entradas) ; It seems that the app do not recognize this command
out=transpose(out);
The others funtions of the standalone app works fine but the most important fails and i don't no how to fix it.
I'm using Matlab R2012b.
Regards, thank you for your time :)
0 commentaires
Réponse acceptée
Greg Heath
le 26 Mar 2014
It seems that net is not recognized.
Explicitly introduce it in the call of the function.
Hope this helps.
Thank you for formally accepting my answer
Greg
2 commentaires
Greg Heath
le 28 Mar 2014
Change
output = function(input)
to
output = function(input, net)
Add net to input
HTH
Greg
Plus de réponses (2)
Ricardo Rodrigues
le 2 Avr 2014
1 commentaire
Greg Heath
le 3 Avr 2014
Modifié(e) : Greg Heath
le 3 Avr 2014
You misinterpreted my answer. Use
Entradas=[net,s1,s2,tmax,tmin,cosDDS,cosH,senDDS,senH,fer];
Greg
Andreas Goser
le 2 Avr 2014
I am not familiar enough with the NN Toolbox, but here is the reference page of what is supported an not:
Can be compiled: Pre-trained network command line functions
Cannot ne compiled: All other command line functionality - Apps and UIs - Simulink blocks - gensim
0 commentaires
Voir également
Catégories
En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!