Simulink compiler overhead / memory leak
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Simon
am 22 Okt. 2015
Beantwortet: Andreas Goser
am 22 Okt. 2015
I was wondering if there is any alternative to compile Simulink code. The problem is that when i compile my model the result is a very complex C-Code and when i execute the code several times it crashes from a memory leak. The memory leak is located inside the complex generated code and is very hard to find / solve. Even when i compile a very easy model (just adding 2 constants) the compiler generates a lot of overhead.
More specifically, is there an more 'easy/simple' compiler with less code overhead?
Kind regards, Simon
0 Kommentare
Akzeptierte Antwort
Andreas Goser
am 22 Okt. 2015
Simon, from what I see you are a researcher at university. I see you have access to Simulink Coder, but I am not sure about you have access to Embedded Coder. Embedded Coder might be what you are looking for.
Independently, code generated from Simulink certainly should have not memory leaks. You may want file a bug report with MathWorks Technical Support.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Compiler finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!