Attempt to grow array along ambiguous dimension.
2 次查看(过去 30 天)
显示 更早的评论
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?
采纳的回答
Laura Hann
2019-2-17
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 个评论
Laura Hann
2019-2-18
Are you sure that's the only error and not something within the drawFixation function itself? drawFixation doesn't seem to be an array.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!