Perform external mode background activity
performs external mode background activity, for example, retrieving packets from the
network, running the packets protocol layer, and sending packets to the development
computer.errorCode
= extmodeBackgroundRun();
Do not invoke the function in a thread with real-time constraints.
Use this function with other external mode functions to enable communication between Simulink® and the target application during an external mode simulation.
For a pseudo-code example that shows how you can provide external mode communication by using the function with related functions, see External Mode Abstraction Layer.
extmodeEvent
| extmodeGetFinalSimulationTime
| extmodeInit
| extmodeParseArgs
| extmodeReset
| extmodeSetFinalSimulationTime
| extmodeSimulationComplete
| extmodeStopRequested
| extmodeWaitForHostRequest