Simulink R2022b crashes - issue with libmwsl_co​mmon_block​s.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.
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!

回答(1 个)

Govind KM
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!

类别

Help CenterFile Exchange 中查找有关 Large-Scale Modeling 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by