After the compilation of the model, MATLAB crash and the error of corrupted heap appears
5 次查看(过去 30 天)
显示 更早的评论
Hello guys,
When I try to run my model in Simulink, the model compile without problem but when the simulation starts, at 0.0 minutes, the Matlab stops and closes.
I did the debug to understand and find the error and is the following:
"Unhandled exception at 0x00007FFD32C91CE0 (ntdll.dll) in MATLAB.exe: 0xC0000374: Corrupted heap"
what this mean? Is it a problem in my model or in Matlab?
Please help me!
Thanks
0 个评论
回答(1 个)
Arun
2023-12-30
Hi Stephanie Monteiro,
I understand that you get an error: "Unhandled exception at 0x00007FFD32C91CE0 (ntdll.dll) in MATLAB.exe: 0xC0000374: Corrupted heap" while running your Simulink model.
A possible workaround is to restructure the model to avoid using message queues. You can do this by deleting the Message Send blocks, Message Receive blocks, Stateflow charts with messages in the model etc.
For additional information regarding where queues are used, please refer the following MATLAB documentation:
I Hope this helps you in resolving your issue.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!