size mismatch ([:? * :?] = [:? * :? * :?]
Show older comments
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 Comments
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
on 30 Apr 2020
Edited: Vimal Prasath
on 30 Apr 2020
Answers (0)
Categories
Find more on Tracking and Sensor Fusion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!