stimes

Model sample times

Syntax

stimes
sti

Description

stimes displays information about the model sample times, including the sample time period, offset, and task ID.

sti is the short form of the command.

Examples

Display sample times for the model vdp using the Simulink® debugger.

  1. In the MATLAB Command Window, enter:

    sldebug 'vdp'

    The MATLAB command prompt >> changes to the Simulink debugger prompt (sldebug @0): >>.

  2. Enter:

    stimes

    The MATLAB Command Window displays:

    --- Sample times  for 'vdp' [Number of sample times = 1]
      1. [0     , 0     ]  tid=0 (continuous sample time)
Introduced before R2006a