Codedescriptor.dmr not found

52 次查看(过去 30 天)
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

采纳的回答

Ritish Sehgal
Ritish Sehgal 2022-6-28
编辑:Stefanie Schwarz 2023-5-12
"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 个评论
Adam Clark
Adam Clark 2022-7-1
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!

请先登录,再进行评论。

更多回答(1 个)

Youssef Noureddine
编辑:Walter Roberson 2023-4-6
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 个评论
Youssef Noureddine
And just to add: as Ritish mentioned, in most cases, you can usually ignore these warnings.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by