Why do I get a stack overflow exception when I debug a GRT executable containing Embedded MATLAB blocks using Microsoft Visual Studio?
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!