size mismatch ([:? * :?] = [:? * :? * :?]
이전 댓글 표시
Hello,
Im trying to use MATLAB Coder where im getting size mismatch ([:? * :?] = [:? * :? * :?] at this line
P(onlyLidarStates,onlyLidarStates) = PL;
Where
P = PAll(:,:,1);
onlyLidarStates = false(10,1);
I went through the features mentioned in this below link But not able get the solution for this.
Thanks,
Vimal
댓글 수: 2
If
onlyLidarStates = false(10,1);
then the LHS indexing refers to zero elements of the array P.
If PL is non-empty then that means you are trying to allocate >zero elements to zero elements.
What do you expect to happen if you try to put three cats into zero boxes?
Vimal Prasath
2020년 4월 30일
편집: Vimal Prasath
2020년 4월 30일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Tracking and Sensor Fusion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!