Azzera filtri
Azzera filtri

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

3 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Arun
Arun il 30 Dic 2023
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.

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by