Check whether request to stop external mode simulation is received from model
checks whether a request to stop the external mode simulation is received from the
Simulink® model on the development computer.
stopRequest = extmodeStopRequested();
Use this function with other external mode functions to enable communication between Simulink and the target application during an external mode simulation.
Set Up External Mode Communication
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.
stopRequest — Stop request
true | false
true if request to stop external mode simulation is
received. Otherwise, returns
Introduced in R2018a