Initialize external mode target connectivity
initializes the external mode target connectivity, including the underlying
communication stack.errorCode
= extmodeInit(extmodeInfo
, finalTime
);
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.
extmodeBackgroundRun
| extmodeEvent
| extmodeGetFinalSimulationTime
| extmodeParseArgs
| extmodeReset
| extmodeSetFinalSimulationTime
| extmodeSimulationComplete
| extmodeStopRequested
| extmodeWaitForHostRequest