- Open model settings (Ctrl+E).
- Go to Code Generation.
- Go to Optimization and disable the "Enable local block output" and "Reuse local block outputs."
freezing issue while generate a code using slbuild
9 次查看(过去 30 天)
显示 更早的评论
Dear Technical Support Team,
Sub: freezing the laptop while using "slbuild"
When we are update( Ctrl+D) the simulink model no error, no warning message, the model is updating.
When we are generate a code using "slbuild", I am facing system freezing issue.
I have analyzed the simulink model in Matlab R2020b and Matlab R2022b software. Unable to see any error message.
Unable to move the curser, forcefully shutdown the machine.
Can you please help me out, how to resolve the issue.
Thanks & Regards,
Saravanan
0 个评论
回答(1 个)
Atharva
2023-9-13
Hey Saravan,
I understand that MATLAB freezes on generating code using "slbuild".
This freezing issue is a known limitation of Code Generation process for optimizing and emitting code phase.
To resolve this issue, please follow the following steps as a workaround:
I hope this helps!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!