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

18 次查看(过去 30 天)
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

回答(1 个)

Suman
Suman 2024-6-19

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by