MATLAB: Is the model unresponsive for the first 13 seconds of External Mode simulation on a TI F28379D board

Embedded Coder

I am running a Simulink model in External Mode on a TI F28379D. The model appears to be unresponsive for the first 13 seconds of simulation. Why?

Best Answer

When the model is loaded onto the target, the target begins to execute the code immediately. Simulink, however, takes some time to send a connection request for external mode. By the time this is completed, the target has been running for 13.5 seconds. Only after this time can the target begin to send data to the host machine. 
Please note that for simulation times less than 13.5 seconds, the external mode communication will in general not be successful.