I am using the Embedded Coder Support Package for Xilinx Zynq Platform. I can successfully build a Simulink model on my Zynq board. However, when I try to run the model in External mode by changing the dropdown box from "Normal" to "External", and then going to Simulation > Connect to Target, I observe the following error:
Error occurred while executing External Mode MEX-file 'ext_comm':Failed to connect to the target. Possible reasons for the failure:a) The target is not switched on.b) The target is not connected to your host machine.c) The application for the model is not running on the target.You might have clicked the Stop button. If the Run button is not dimmed,click it. Otherwise, click the Build button,which downloads and runs your application on the target.Caused by:An error occurred attempting to open an rtIOStream.More detail may be reported in the MATLAB command window
I have verified that the board is switched on, that it is connected to my host machine, and that the application for the model is running on the target. How can I further troubleshoot this error?
Best Answer