How to solve the simulation error ,try reducing the minimum step size and/or relax the relative error tolerance.

20 views (last 30 days)
HI,
I am working on a hexacopter model and i am getting the following error
An error occurred while running the simulation and the simulation was terminated
Caused by:
  • Solver encountered an error while simulating model 'FullHexacopterwithoutpositionandwithwindmodel12thapril' at time 5.0198902479053622 and cannot continue. Please check the model for errors.
  • Nonlinear iteration is not converging with step size reduced to hmin (1.78342e-14) at time 5.01989. Try reducing the minimum step size and/or relax the relative error tolerance.
Component:Simulink | Category:Block diagram error

Answers (1)

Suman
Suman on 19 Jun 2024

Categories

Find more on Simulink in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!