wait
Syntax
Description
wait(
        gets the wait status for an statusObj,timeOut)SLDRT.RunStatus object. If the
          wait function is called during real-time simulation, MATLAB® waits until execution stops or the timeOut period expires,
        and the output indicates whether the execution stops within the specified
          timeOut. If the wait 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 | stop | RT.Kernel | createTimer | loadExecutable | RT.Executable | loadDriver | RT.Driver | RT.DriverImage