Main Content
stop
Stops execution of current model simulation run and causes MATLAB to wait until execution stops
Since R2023b
Syntax
Description
stop(
sets the stop status for an statusObj
)SLDRT.RunStatus
object. If the
stop
function is called during real-time simulation, execution stops
and MATLAB® waits until the timeOut
period expires. If the
stop
function is called when execution is not running, the function
immediately returns without waiting for the timeOut
period to
expire.
Examples
Input Arguments
Version History
Introduced in R2023b
See Also
SLDRT.run
| SLDRT.RunStatus
| wait
| RT.Kernel
| createTimer
| loadExecutable
| RT.Executable
| loadDriver
| RT.Driver
| RT.DriverImage