Wait for request from development computer to start or stop external mode simulation
waits for a start or stop request from the development computer and times out when
the timeout value is reached.errorCode
= extmodeWaitForHostRequest(timeoutInMicroseconds
);
Use this function with other external mode functions to enable communication between Simulink® and the target application during an external mode simulation. Use the function during initialization because the function is a blocking function.
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.
extmodeBackgroundRun
| extmodeEvent
| extmodeGetFinalSimulationTime
| extmodeInit
| extmodeParseArgs
| extmodeReset
| extmodeSetFinalSimulationTime
| extmodeSimulationComplete
| extmodeStopRequested