When I use Matlab coder,This problem occurs,“Undefined function or variable 'outputLimits'.”
조회 수: 3 (최근 30일)
이전 댓글 표시
system:windows11 22H2
matlab version:R2022b
When I use Matlab coder,This problem occurs,“Undefined function or variable 'outputLimits'.”,I'm running “Create360BirdsEyeViewImageAroundAVehicleExample”,All M code is ok and normal running,but when I use Matlab coder generate code,An error occurred,as mentioned above,Undefined function or variable 'outputLimits。
In R2021b, anything is ok.
Discover through search(Find output spatial limits given input spatial limits - MATLAB outputLimits - MathWorks 中国),outputLimits()function have some changes in R2022b,But I don't know whether it has anything to do with generating code.
Hope to get help, thank you.
댓글 수: 0
채택된 답변
Giridharan Kumaravelu
2022년 11월 4일
Thank you for reporting this issue. This issue is a bug in the code generation part of the example.
As an interim workaround, please use the helperRegisterImages.m and helperGenerateBirdsEyeViewProject.prj files for code generation of this example from the attached zip file.
추가 답변 (2개)
Denis Gurchenkov
2022년 10월 21일
Can you check if you have Image Processing Toolbox installed? outputLimits belongs to that toolbox, so if you don't have it, the function would not be available on your computer.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!