フィルターのクリア

When I use Matlab coder,This problem occurs,“Undefined function or variable 'outputLimits'.”

1 回表示 (過去 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.

採用された回答

Giridharan Kumaravelu
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.
  1 件のコメント
QS-L
QS-L 2022 年 11 月 5 日
Thank you very much for answering my question. According to your method, I really solved this bug. Thank you very much. We also hope that the bug will be fixed in the future version. Thanks again.

サインインしてコメントする。

その他の回答 (2 件)

Denis Gurchenkov
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.
  2 件のコメント
QS-L
QS-L 2022 年 10 月 25 日
After my inspection, this toolkit( Image Processing Toolbox) is installed, see the following picture. Moreover, the M code can run normally, just because there is an error in the generated code. You have to run this example in R2022b. Is there a problem? Could you repeat the question, please.
QS-L
QS-L 2022 年 10 月 25 日
I just noticed the time. You have already made an answer, but I just saw it today. I'm really sorry. Thank you for answering my questions after work, and thank you for your efforts. But my problem has not been solved yet. If you can, I hope you can repeat the problem to see if the same problem exists. Thank you again and hope to receive your reply as soon as possible. thank you.

サインインしてコメントする。


QS-L
QS-L 2022 年 10 月 26 日
I use two computers, which can reproduce this problem. I don't know if it is a bug.

カテゴリ

Help Center および File ExchangeMATLAB Coder についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by