Simulink R2022b crashes - issue with libmwsl_common_blocks.dll
4 次查看(过去 30 天)
显示 更早的评论
Hello,
I am having some issues when running my project in simulink R2022b version. When I hit the Run the button, Simulink compiles all the modules of my project (see image 1), but then when it finished compiling and goes to the Running mode (see image 2) it sometimes crashes (all my Matlab + Simulink windows shut down).
Sometimes it actually runs the model successfully, and sometimes it gets stuck on this Running step and eventually crashes. I didn't yet figure out the reason for this dual behaviour or how to prevent it.
image 1:
image 2:
As far as I know there is no log file being created, I searched in the location C:\Users\USER\AppData\Local\Temp.
Following a suggestion from https://www.mathworks.com/matlabcentral/answers/452914-how-do-i-troubleshoot-a-crash-in-matlab-due-to-a-simulink-model-running-in-accelerator-or-rapid-a I found the crashes documented in the Reliability Monitor:
but the information is not very useful, or is it?
Do you know if this is a known bug? Maybe in the libmwsl_common_blocks.dll? What troubles me is that sometimes it works fine and sometimes it crashes, so it's not a systematic behaviour.
Thanks in advance!
0 个评论
回答(1 个)
Govind KM
2024-10-16
Hi Roliveira,
I was facing a similiar issue when simulating my Simulink model containing Lookup table blocks. The reason for the issue was that a workspace variable assigned as a breakpoint for the Lookup table was empty, which is not allowed. I was able to resolve the issue by assigning a valid value to the breakpoint.
In case this does not resolve the issue, I would suggest contacting MathWorks technical support:
Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Large-Scale Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!