Codedescriptor.dmr not found

54 views (last 30 days)
ash conyers
ash conyers on 22 Jun 2022
Edited: Stefanie Schwarz on 12 May 2023
Does anyone know how I can resolve this? I am trying to do a standalone setup on my Arduino Due. This warning show up every time I build and the LED on my board stays solid. When I press reset on the board nothing changes.
### Starting build procedure for: Experiment_1_2_b
Warning: File 'codedescriptor.dmr' not found.
Warning: File 'codedescriptor.dmr' not found.
Warning: File 'codedescriptor.dmr' not found.
Warning: File 'codedescriptor.dmr' not found.
### Successful completion of build procedure for: Experiment_1_2_b
Build process completed successfully

Accepted Answer

Ritish Sehgal
Ritish Sehgal on 28 Jun 2022
Edited: Stefanie Schwarz on 12 May 2023
"codedescriptor.dmr" is an artifact file that is created in the "model_xxxxx_rtw" code generation folder for targets such as ert.tlc or slrealtime.tlc. The file is used by Simulink in subsequent (re-)build processes. If you are not encountering any adverse behavior, I think you can simply ignore these warnings.
You can try to remove the warning by running the following commands to reset your MATLAB path:
>> restoredefaultpath
>> rehash toolboxcache
Re-run the build. If this resolved the issue, save the new settings by executing:
>> savepath
Hope it helps!!
  1 Comment
Adam Clark
Adam Clark on 1 Jul 2022
I just started seeing this same warning, but I'm not using Simulink Realtime, just generating to run offline on ARM platform. I tried running the commands you suggested to reset paths and toolboxes, but still no luck. Any other suggestions? Thanks!

Sign in to comment.

More Answers (1)

Youssef Noureddine
Youssef Noureddine on 6 Apr 2023
Edited: Walter Roberson on 6 Apr 2023
This essentially happens when an unrelated 'codedescriptor.dmr' file is found on the search path during the model build stage. Please refer to the MATLAB Answers link below for more information:
  1 Comment
Youssef Noureddine
Youssef Noureddine on 6 Apr 2023
And just to add: as Ritish mentioned, in most cases, you can usually ignore these warnings.

Sign in to comment.

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!