After the compilation of the model, MATLAB crash and the error of corrupted heap appears

3 次查看(过去 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

回答(1 个)

Arun
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.

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by