matlab仿真程序报错,给出的解决方法是 Try reducing the minimum step size and/or relax the relative error tolerance,如何解决?
Solver is encountering difficulty in simulating model 'sanziyoudushangzhifangzheng' at time 0.0015194760911509213. Simulink will continue to simulate with warnings. Please check the model for errors.
Caused by:
Solver was unable to reduce the step size without violating minimum step size of 5.39826e-18 for 10 consecutive times at time 0.00151948. Solver will continue simulation with the step size restricted to 5.39826e-18 and using an effective relative error tolerance of 0.00242934, which is greater than the specified relative error tolerance of 0.001. This usually may be caused by the high stiffness of the system. Please check the system or increase the solver Number of consecutive min steps violation parameter.
An error occurred while running the simulation and the simulation was terminated
Caused by:
Solver encountered an error while simulating model 'sanziyoudushangzhifangzheng' at time 0.0015194760911547409 and cannot continue. Please check the model for errors.
Nonlinear iteration is not converging with step size reduced to hmin (5.39826e-18) at time 0.00151948. Try reducing the minimum step size and/or relax the relative error tolerance.
求解答