Clear Filters
Clear Filters

Help to resolve error

9 views (last 30 days)
Nuno
Nuno on 12 Jul 2011
When i resolve this error in my model ModuloV1?
Unable to reduce the step size without violating a minimum step size of 2.4300569855820542E-012 at time 684.00023342227712 for model 'ModuloV1'.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 12 Jul 2011
In your Simulink model, click menu Simulation>Configuration Parameters ... then select the "Solver" in the left column, you will see lots of parameters on the right. This is the place you set up many parameters for the solver, including Min and Max step size. You probably left all these be the default, which is fine. The error message indicates that Simulink tries to reduce step size but has reached the minimum which is 2.4E-12. This is already a very small step size, which indicates that your model might have a stability problem. Try select a different solver, or relax the relative tolerance. You can click the "Help" button on this parameter dialog to understand what all these parameters mean.

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!