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.

Initial step size

Description

Specify the size of the first time step that the solver takes.

Category: Solver

Settings

Default: auto

By default, the solver selects an initial step size by examining the derivatives of the states at the start time.

Tips

  • Be careful when increasing the initial step size. If the first step size is too large, the solver might step over important behavior.

  • The initial step size parameter is a suggested first step size. The solver tries this step size but reduces it if error criteria are not satisfied.

Dependencies

This parameter is enabled only if the solver Type is set to Variable-step.

Command-Line Information

Parameter: InitialStep
Type: character vector
Value: any valid value
Default: 'auto'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics