Why do I get warnings about "File 'codedescriptor.dmr' not found." for each of my referenced models during a top model build?

18 次查看(过去 30 天)
I have a model containing referenced models. When I try to build the top model for code generation, I get the following warnings:
*** Model reference build : REFERENCED MODEL
--------------------------------------------------------------------------------
================================================================================
Warning: File 'codedescriptor.dmr' not found.
Warning: File 'codedescriptor.dmr' not found.
Warning: File 'codedescriptor.dmr' not found.
Warning: File 'codedescriptor.dmr' not found.
Why am I getting these warnings and how can I avoid them?

采纳的回答

MathWorks Support Team
These warnings appear if an unrelated 'codedescriptor.dmr' file is found on the search path during the model build stage. 
These warnings can usually be ignored. Alternatively, you can also avoid them by deleting the unnecessary 'codedescriptor.dmr' files or by making sure they are not on the search path. This issue has been resolved in R2023a, and so updating your release is also an alternative.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by