Simulink crashes while simulating model using snapshot for initialisation
2 views (last 30 days)
Show older comments
This happends only when using a snapshot to initialise my model. I have searched in windows and found a description of the error:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1399754/image.png)
Any idea how to solve this issue?
1 Comment
Accepted Answer
Dinesh
on 6 Jun 2023
Hi Ismael!
The exception code c0000374 indicates a heap corruption. One possible reason could be an issue with the snapshot itself, such as it being incomplete or corrupted. Another possibility could be a lack of available memory or resources when Simulink tries to load and use the snapshot.
To troubleshoot this issue, please follow these steps:
1. Try reproducing the issue with a simple demo model like "vdp.slx." Type open('vdp.slx') in command window.
2. If the issue persists, please file a service request with MathWorks using this link: https://www.mathworks.com/support/contact_us.html.
I hope this information helps.
Thank you.
0 Comments
More Answers (0)
See Also
Categories
Find more on Simulink Environment Customization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!