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.
Best Answer