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!