Simulink R2022b crashes - issue with libmwsl_co​mmon_block​s.dll

4 views (last 30 days)
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!

Answers (1)

Govind KM
Govind KM on 16 Oct 2024
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!

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!