Attempt to reference field of non-structure array.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
alix
le 4 Sep 2014
Réponse apportée : Andrew Reibold
le 4 Sep 2014
hi I'm trying to estimate the speed of a motor using Hopfield neural network learnh and I get the following error:
Attempt to reference field of non-structure array.
Error in learnh>apply (line 102) dw = lp.lr*a*p';
Error in learnh (line 73) [out1,out2] = apply(varargin{:});
Error in RNA (line 39) dw = learnh([],P11,[],[],T,[],[],[],[],[],lp,[]);
anyone can help me?
0 commentaires
Réponse acceptée
Andrew Reibold
le 4 Sep 2014
Accessing lp.lr is your problem.
First make sure this is really what you meant to type. If it is, make sure lp.lr really exists. You can stop the code before the line to check.
Other than this, we don't have alot of information to go off of here
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matrix Indexing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!