Main Content

extmodeStopRequested

Check whether request to stop external mode simulation is received from model

Description

example

stopRequest = extmodeStopRequested(); checks whether a request to stop the external mode simulation is received from the Simulink® model on the development computer.

Use this function with other external mode functions to enable communication between Simulink and the target application during an external mode simulation.

Examples

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.

Output Arguments

collapse all

true if request to stop external mode simulation is received. Otherwise, returns false.

Introduced in R2018a