Why do I get a stack overflow exception when I debug a GRT executable containing Embedded MATLAB blocks using Microsoft Visual Studio?
Ältere Kommentare anzeigen
I have a comparatively large model containing Embedded MATLAB blocks, into which I pass structures consisting of large arrays. When I increase the size of the arrays, the executable generated by the GRT system target file is created successfully using Real-Time Workshop 7.1 (R2008a). However, on running the executable, it fails and returns a negative value as status.
This same model throws the following error during simulation in the Rapid Accelerator Mode although it runs normally in the Normal and Accelerator Modes:
Error occurred while executing External Mode MEX-file 'ext_comm':
ExtGetTargetPkt() call failed while checking target pkt header.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!