When I use Matlab coder,This problem occurs,“Undefined function or variable 'outputLimits'.”
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (2)
Denis Gurchenkov
el 21 de Oct. de 2022
0 votos
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.
QS-L
el 26 de Oct. de 2022
0 votos
Categorías
Más información sobre Install Products en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
