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

18 views (last 30 days)
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?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 6 Apr 2023
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.

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!