| Contents | Index |
MaxStep is a property of the SolverOptions property, which is a property of a configset object. This property specifies the bounds on the size of the time steps. MaxStep is available only for ODE solvers (ode15s, ode23t, ode45, and sundials).
If the differential equation has periodic coefficients or solutions, it might be a good idea to set MaxStep to some fraction (such as 1/4) of the period. This guarantees that the solver does not enlarge the time step too much and step over a period of interest. For more information on MaxStep, see odeset in the MATLAB documentation.
| Applies to | Object: SolverOptions |
| Data type | Positive scalar or empty |
| Data values | Default value is [] (empty), which is equivalent to setting MaxStep to infinity. |
| Access | Read/write |
SimBiology property RelativeTolerance
MATLAB function odeset

See how to analyze, visualize, and model biological data and systems using MathWorks products.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |