Simulink model freezes at 8% during compilation showing “updating library links blocks: started” in MATLAB 2024a

8 次查看(过去 30 天)
I am using MATLAB R2024a on Windows, and I am experiencing a consistent issue with one specific Simulink model. During simulation or code generation, the process freezes at 8% during compilation, showing the message “Updating library links blocks: started” in the lower left corner of the window. It remains stuck indefinitely at that stage.
Even if I try to cancel the build, MATLAB becomes unresponsive and eventually crashes, requiring a full restart. This happens almost every day, usually when reopening or restarting the model.
As a temporary workaround, I have been deleting the slprj folder and the .autosave file, and then running the command clear classes. After that, the model compiles normally again — but the issue reappears later.
This model uses several toolboxes, including:
  • Aerospace Blockset
  • Aerospace Toolbox
  • UAV Toolbox
  • Simulink, Simulink Coder, MATLAB core toolboxes.
The model does not use model references or custom libraries.
Has anyone experienced a similar freeze during “updating library links blocks”? Is there a more permanent fix or diagnostic step to prevent this issue?

回答(1 个)

Jianxin Sun
Jianxin Sun 34 minutes 前

类别

Help CenterFile Exchange 中查找有关 Aerospace Applications 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by