This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Start time


Specify the start time for the simulation or generated code as a double-precision value, scaled to seconds.

Category: Solver


Default: 0.0

  • A start time must be less than or equal to the stop time. For example, use a nonzero start time to delay the start of a simulation while running an initialization script.

  • The values of block parameters with initial conditions must match the initial condition settings at the specified start time.

  • Simulation time is not the same as clock time. For example, running a simulation for 10 seconds usually does not take 10 seconds. Total simulation time depends on factors such as model complexity, solver step sizes, and computer speed.

Command-Line Information

Parameter: StartTime
Type: character vector
Default: '0.0'

Related Topics