- 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
조회 수: 10 (최근 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!