Filter löschen
Filter löschen

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

3 Ansichten (letzte 30 Tage)
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

Antworten (1)

Arun
Arun am 30 Dez. 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.

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by