I am using a Matlab 2017a Simulink mode external mode and an Arduino Mega 2560 to get some data from a Pixy2 Camera. The model can be built and upload into arduino, however I get this error (attached: Error occurred while executing External Mode MEX-file 'ext_comm':ExtTargetPktPending() call failed while checking for target pkt) when I try to run the model. What that this error means and how can I solve, your ideas are welcome. Thank you
MATLAB: ExtTargetPktPending() call failed while checking for target pkt
arduinopixy2 camerasimulinkspi
Best Answer