Attempt to grow array along ambiguous dimension.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
ROBERTA NOCERINO
le 17 Fév 2019
Commenté : Laura Hann
le 18 Fév 2019
Hi :)
I'm having trouble with a function becasue there's this kind of error:"Attempt to grow array along ambiguous dimension.
the error is present at the line 47.
Can anybody help me?
Réponse acceptée
Laura Hann
le 17 Fév 2019
In line 47 you're assigning the value to goodDots(id) like it's a one dimensional array but goodDots=false(zeros(1,nDots)); in line 29 creates something else. Shouldn't
goodDots=zeros(1,nDots);
be enough?
2 commentaires
Laura Hann
le 18 Fév 2019
Are you sure that's the only error and not something within the drawFixation function itself? drawFixation doesn't seem to be an array.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Logical 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!