How to Change Fixed or Variable Solver Step Size in Simulink?

S
support · Jul 23, 2026 · 0 views
Question
My Simulink model simulation is running very slow or failing due to solver step size. How do I adjust Max Step Size and Fixed Step Size?
Expert Answer
Profile picture of John Williams
John Williams PhD Expert
Answered Aug 8, 2026

To configure solver step size settings in Simulink:

  1. Press Ctrl + E to open Model Configuration Parameters.
  2. Select Solver from the left menu panel.
  3. For Variable-step solvers (e.g., ode45, ode15s): Set Max step size from auto to 1e-3 or 1e-4 for higher accuracy.
  4. For Fixed-step solvers (e.g., ode3, ode4): Set Fixed-step size to your required sampling period (e.g., 0.001 seconds).
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!