Codedescriptor.dmr not found

127 views (last 30 days)
ash conyers
ash conyers on 22 Jun 2022
Commented: Adam Clark on 1 Jul 2022
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

Answers (1)

Ritish Sehgal
Ritish Sehgal on 28 Jun 2022
It is my understanding that you are getting this warning regarding "codescriptor.dmr" during Simulink Real-Time (SLRT) Build process.
"codedescriptor.dmr" is an artifact file that is created in the "model_slrealtime_rtw" code generation folder for certain targets such as 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
In case you use Speedgoat Blockset, make sure to also run the following:
% go to Speedgoat blockset installation directory (adjust path if applicable)
>> cd C:\ProgramData\Speedgoat\speedgoatlib\R2020b\9.2.0\
% command to restore paths for Speedgoat blockset
>> sg_path(1)
Re-run the SLRT 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.




Community Treasure Hunt

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

Start Hunting!

Translated by